Package: trickle Severity: important Tags: patch Hi,
currently your package FTBFS on GNU/kFreeBSD with the following error: > gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Icompat -I/usr/include -g -O2 -c > trickle-overload.c -fPIC -o .libs/trickle-overload.o > trickle-overload.c:543: error: conflicting types for 'poll' > /usr/include/sys/poll.h:48: error: previous declaration of 'poll' was here > trickle-overload.c: In function 'read': > [...] Full build logs are available at <http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=trickle>. First, the attached patch has to be applied so that GNU/kFreeBSD is handled correctly. Second, libtool is outdated and doesn't do its job correctly on GNU/kFreeBSD. To update it, you just have to run: libtoolize -c -f aclocal autoconf Thanks in advance. Cheers, -- Cyril Brulebois
--- trickle-1.07/trickle-overload.c 2007-03-09 23:02:00.857915000 +0100 +++ trickle-1.07/trickle-overload.c 2007-03-09 23:02:13.000000000 +0100 @@ -530,7 +530,7 @@ #define POLL_WRMASK (POLLOUT | POLLWRNORM | POLLWRBAND) #define POLL_RDMASK (POLLIN | /* POLLNORM | */ POLLPRI | POLLRDNORM | POLLRDBAND) -#if defined(__linux__) || (defined(__svr4__) && defined(__sun__)) || defined(__OpenBSD__) +#if defined(__linux__) || (defined(__svr4__) && defined(__sun__)) || defined(__OpenBSD__) || defined(__FreeBSD_kernel__) int poll(struct pollfd *fds, nfds_t nfds, int __timeout) #elif defined(__FreeBSD__)

