Package: libflorist
Version: 2006-1
Severity: important
Tags: patch

Hi,

currently your package FTBFS on GNU/kFreeBSD with the following error:
> /usr/bin/make GNATMAKEFLAGS1B="-g -O2" GCCFLAGS="-g -O2"
> make[1]: Entering directory `/build/buildd/libflorist-2006'
> gnatgcc -w -c -g -O2 posix-macros.c
> gnatgcc -w -c -g -O2 posix-macros-sockets.c
> gnatgcc -w -g -O2 -DVERSION="\"Florist-2006 (20060522)\"" -DLIBS="\"-lnsl 
> -lrt -lpthread \"" -o c-posix c-posix.c -lnsl -lrt -lpthread 
> c-posix.c: In function 'create_c':
> c-posix.c:4302: error: 'caddr_t' undeclared (first use in this function)
> c-posix.c:4302: error: (Each undeclared identifier is reported only once
> c-posix.c:4302: error: for each function it appears in.)
> c-posix.c:4807: error: 'O_SYNC' undeclared (first use in this function)
> make[1]: *** [c-posix] Error 1

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

Please find attached a patch to solve this issue on kfreebsd-* and possibly on
hurd-i386 as well (GNU testcase), although I can't affirm it. You'll need to
run autoconf to update the configure script once this patch applied.

Cheers,

-- 
Cyril Brulebois
--- libflorist-2006/configure.in        2007-03-16 00:37:32.170482000 +0100
+++ libflorist-2006/configure.in        2007-03-16 00:37:54.000000000 +0100
@@ -81,7 +81,7 @@
    echo "Using Configuration for" ${UNAME_SYSTEM} ${UNAME_RELEASE};
    cp ./configs/pconfig.SunOS5.6 ./pconfig.h.in;
    ;;
- Linux)
+ Linux|GNU/kFreeBSD|GNU)
 # .... need to add cases here for different thread and C libraries
    echo "Using Configuration for" ${UNAME_SYSTEM} ${UNAME_RELEASE};
    cp ./configs/pconfig.Linux ./pconfig.h.in;

Reply via email to