Version 1.02 of net-libs/libbt is available Reproducible: Always Steps to Reproduce: 1. 2. 3.
This version bump also seems to fail to compile with CFLAGS > -O0...as do quite a few others I've noticed... I really don't like adding packages without compile optimizations, sorry, but until this is fixed, I won't add it: gcc -c -g -Wall -O3 -march=pentium4 -funroll-loops -pipe -I../include -I../inclu makedepend: warning: stream.c includes /usr/include/sys/types.h more than once! Already have ../include/config.h /usr/include/errno.h /usr/include/string.h /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/stdarg.h /usr/include/sys/types.h /usr/include/sys/socket.h /usr/include/unistd.h types.c: In function `btString_create_str': types.c:66: error: `use_btcalloc_instead' undeclared (first use in this function types.c:66: error: (Each undeclared identifier is reported only once types.c:66: error: for each function it appears in.) types.c:66: error: `use_btmalloc_instead' undeclared (first use in this function make[1]: *** [types.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/libbt-1.02/work/libbt-1.02/src' make: *** [compile] Error 2 make: *** Waiting for unfinished jobs.... makedepend: warning: peer.c includes /usr/include/sys/types.h more than once! Already have ../include/config.h /usr/include/sys/types.h /usr/include/netinet/in.h /usr/include/arpa/inet.h /usr/include/netdb.h /usr/include/sys/socket.h /usr/include/unistd.h
I don't like having bugs open too long, so I made a little patch that allows optimizations to be used. It's now in portage. Enjoy :).