Package: vnc
Version: 3.3.7-14
Severity: important
Tags: patch

Hi,

currently your package FTBFS on GNU/kFreeBSD, as you can check in the
buildd logs at: <http://experimental.ftbfs.de/build.php?pkg=vnc>.

Please find attached a patch to add support for GNU/kFreeBSD.

Cheers,

-- 
Cyril Brulebois
--- vnc-3.3.7/Xvnc/config/cf/Imake.cf	2007-03-20 18:51:54.000000000 +0100
+++ vnc-3.3.7/Xvnc/config/cf/Imake.cf	2007-03-20 18:52:03.000000000 +0100
@@ -600,7 +600,7 @@
 # define Win32Architecture
 #endif /* WIN32 */
 
-#ifdef linux 
+#if defined(linux) || defined(__GLIBC__)
 # define MacroIncludeFile <linux.cf>
 # define MacroFile linux.cf
 # undef linux
--- vnc-3.3.7/Xvnc/programs/Xserver/os/xalloc.c	2007-03-20 18:51:54.000000000 +0100
+++ vnc-3.3.7/Xvnc/programs/Xserver/os/xalloc.c	2007-03-20 18:52:04.000000000 +0100
@@ -241,7 +241,9 @@
 #define HAS_MMAP_ANON
 #include <sys/types.h>
 #include <sys/mman.h>
+#if !defined(__FreeBSD_kernel__)
 #include <asm/page.h>	/* PAGE_SIZE */
+#endif
 #endif /* linux */
 
 #if defined(CSRG_BASED)

Reply via email to