| 1 | | |
| | 1 | in addition to 1.42's process,[[BR]] |
| | 2 | |
| | 3 | in the following make files,[[BR]] |
| | 4 | third-party/libnatpmp/Makefile[[BR]] |
| | 5 | third-party/miniupnp/Makefile[[BR]] |
| | 6 | libtransmission/Makefile[[BR]] |
| | 7 | daemon/Makefile[[BR]] |
| | 8 | cli/Makefile[[BR]] |
| | 9 | remove[[BR]] |
| | 10 | -Wextra[[BR]] |
| | 11 | -Winit-self[[BR]] |
| | 12 | -Wmissing-format-attribute[[BR]] |
| | 13 | |
| | 14 | |
| | 15 | Also in those Makefiles,remove[[BR]] |
| | 16 | -std=gnu99[[BR]] |
| | 17 | from the CFLAGS = line[[BR]] |
| | 18 | |
| | 19 | At this point, make will complain about : [[BR]] |
| | 20 | libtransmission/net.c:56: `IN6ADDR_ANY_INIT' undeclared here (not in a function[[BR]] |
| | 21 | |
| | 22 | For fixing it, the best I know so far is :[[BR]] |
| | 23 | in libtransmission/net.h [[BR]] |
| | 24 | add:[[BR]] |
| | 25 | #if defined(__HAIKU__)[[BR]] |
| | 26 | #include <resolv.h>[[BR]] |
| | 27 | #endif[[BR]] |
| | 28 | |
| | 29 | However that'll generate some more errors:[[BR]] |
| | 30 | /boot/develop/headers/posix/resolv.h:160: field `nsaddr_list' has incomplete type[[BR]] |
| | 31 | /boot/develop/headers/posix/resolv.h:170: field `addr' has incomplete type[[BR]] |
| | 32 | /boot/develop/headers/posix/resolv.h:194: field `sin' has incomplete type[[BR]] |
| | 33 | transmission-1.42+-svn7652/libtransmission/bandwidth.c: In function `tr_bandwidthAllocate':[[BR]] |
| | 34 | transmission-1.42+-svn7652/libtransmission/bandwidth.c:228: warning: unknown conversion type character `z' in format[[BR]] |
| | 35 | transmission-1.42+-svn7652/libtransmission/bandwidth.c:228: warning: too many arguments for format[[BR]] |
| | 36 | make[2]: *** [bandwidth.o] Error 1[[BR]] |
| | 37 | make[2]: Leaving directory `transmission-1.42+-svn7652/libtransmission'[[BR]] |