Package: datefudge
Severity: important
Tags: patch

Hi,

currently your package FTBFS on GNU/kFreeBSD with the following error:
> gcc -D_REENTRANT -g -Wall -O2 -fpic -c -o datefudge.o datefudge.c
> datefudge.c:15:24: error: asm/unistd.h: No such file or directory
> make[1]: *** [datefudge.o] Error 1

Full build logs are available at
<http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=datefudge>.

Please find attached a very tiny patch to fix this.

Cheers,

-- 
Cyril Brulebois
--- datefudge-1.12/datefudge.c	2007-03-11 06:07:01.795919000 +0100
+++ datefudge-1.12/datefudge.c	2007-03-11 06:07:28.000000000 +0100
@@ -12,7 +12,9 @@
 #include <stdlib.h>
 #include <dlfcn.h>
 #include <assert.h>
+#if !defined(__FreeBSD_kernel__)
 #include <asm/unistd.h>
+#endif
 #include <features.h>
 #include <unistd.h>
 #include <time.h>

Reply via email to