Bug#414348: enet: FTBFS on GNU/kFreeBSD: small tweak needed

Cyril Brulebois cyril.brulebois at enst-bretagne.fr
Sun Mar 11 07:47:27 CET 2007


Package: enet
Severity: important
Tags: patch

Hi Gonéri! Hi -games!

Currently (y)our package FTBFS on GNU/kFreeBSD.
> if i486-kfreebsd-gnu-gcc -DPACKAGE_NAME=\"libenet\" -DPACKAGE_TARNAME=\"libenet\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"libenet\ 1.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libenet.a\" -DVERSION=\"1.0\" -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1  -I. -I. -Iinclude/    -Wall -g -O2 -MT unix.o -MD -MP -MF ".deps/unix.Tpo" -c -o unix.o unix.c; \
> 	then mv -f ".deps/unix.Tpo" ".deps/unix.Po"; else rm -f ".deps/unix.Tpo"; exit 1; fi
> unix.c: In function 'enet_address_set_host':
> unix.c:86: warning: passing argument 5 of 'gethostbyname_r' from incompatible pointer type
> unix.c:86: error: too few arguments to function 'gethostbyname_r'
> unix.c: In function 'enet_address_get_host':
> unix.c:124: warning: passing argument 7 of 'gethostbyaddr_r' from incompatible pointer type
> unix.c:124: error: too few arguments to function 'gethostbyaddr_r'
> make[2]: *** [unix.o] Error 1
> make[2]: Leaving directory `/build/buildd/enet-1.0'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/build/buildd/enet-1.0'
> make: *** [build-stamp] Error 2

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

Please find attached a small patch to fix this. (I'm reporting to the
BTS and not only on the list to ease the coordination of GNU/kFreeBSD
porters.)

Have a nice day, see you,

-- 
Cyril Brulebois
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enet_kfreebsd.diff
Type: text/x-c
Size: 816 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20070311/9536f7b1/enet_kfreebsd.bin


More information about the Pkg-games-devel mailing list