Package: postman
Severity: important
Tags: patch

Hi,

currently your package FTBFS on GNU/kFreeBSD with the following error:
> g++ -Wall -Wpointer-arith -O2 -DLINUX -g -fno-operator-names -I. 
> -I/usr/include/c-client -c XSocket.cc -o XSocket.o
> In file included from XSocket.h:58,
>                  from XSocket.cc:5:
> Utils.h:33:23: error: asm/errno.h: No such file or directory
> make[1]: *** [XSocket.o] Error 1
> make[1]: Leaving directory `/build/buildd/postman-2.1'
> make: *** [build-stamp] Error 2

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

Since -DLINUX is used (and there's no reason to change that), a tiny tweak is
needed to include the appropriate header for GNU/kFreeBSD, since there's no
asm/errno.h on this platform.

Cheers,

-- 
Cyril Brulebois
--- postman-2.1/Utils.h	2007-03-09 14:08:17.843683000 +0100
+++ postman-2.1/Utils.h	2007-03-09 14:09:11.000000000 +0100
@@ -29,7 +29,9 @@
 #include "Config.h"
 #include "XSocket.h"
 
-#if defined (LINUX)
+#if defined (__FreeBSD_kernel__)
+#include <sys/errno.h>
+#elif defined (LINUX)
 #include <asm/errno.h>
 #elif defined (HP) 
 #include <sys/errno.h>

Reply via email to