Package: xpaint
Severity: important
Tags: patch

Hi,

xpaint fails to build on GNU/kFreeBSD due to missing support. 
Please find attached a patch to fix that. Could you please add it in
the next upload?

Don't hesitate to contact me if you need more information.

Thanks in advance,
Aurelien


-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.4-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Author: aurel32
Status: in BTS

--- xpaint-2.7.6.orig/misc.h
+++ xpaint-2.7.6/misc.h
@@ -24,7 +24,7 @@
 long random(void);
 #endif
 
-#if !defined(__VMS) & !defined(linux) & !defined(__EMX__) & 
!defined(__FreeBSD__) & !defined(__CYGWIN__)
+#if !defined(__VMS) & !defined(linux) & !defined(__EMX__) & 
!defined(__FreeBSD__) & !defined(__CYGWIN__) & !defined(__GLIBC__)
 #if defined(BSD4_4) || defined(HPArchitecture) || defined(SGIArchitecture) || 
defined(_AIX) || defined(_SCO_DS)
 void srandom(unsigned int);
 #else

Reply via email to