HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 1 and Version 2 of net-p2p/transmission/svn8039/1


Ignore:
Timestamp:
03/06/09 23:43:17 (6 years ago)
Author:
mmadia
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • net-p2p/transmission/svn8039/1

    v1 v2  
    1   
     1 
     2{{{ 
     3 
     4transmission-1.51+/libtransmission/net.c:56: `IN6ADDR_ANY_INIT' undeclared here (not in a function) 
     5transmission-1.51+/libtransmission/net.c:183: `INET6_ADDRSTRLEN' undeclared (first use in this function) 
     6transmission-1.51+/libtransmission/net.c:212: warning: implicit declaration of function `IN6_IS_ADDR_V4MAPPED' 
     7transmission-1.51+/libtransmission/net.c:469: warning: implicit declaration of function `IN6_IS_ADDR_LINKLOCAL' 
     8 
     9For fixing it, the best I know so far is : 
     10in libtransmission/net.h 
     11add: 
     12#if defined(HAIKU) 
     13#include <resolv.h> 
     14#endif 
     15 
     16Haiku's posix/resolv.h :  
     17http://dev.haiku-os.org/browser/haiku/trunk/headers/posix/resolv.h 
     18Since this header is incomplete at best, only more errors ensue: 
     19 
     20make[2]: Entering directory `/misc_obj/transmission-1.51+/libtransmission' 
     21source='bandwidth.c' object='bandwidth.o' libtool=no \ 
     22        DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \ 
     23        gcc -DPACKAGE_NAME=\"transmission\" -DPACKAGE_TARNAME=\"transmission\" -DPACKAGE_VERSION=\"1.51+\" -DPACKAGE_STRING=\"transmission\ 1.51+\" -DPACKAGE_BUGREPORT=\"http://trac.transmissionbt.com/newticket\" -DPACKAGE=\"transmission\" -DVERSION=\"1.51+\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DTR_NIGHTLY_RELEASE=1 -DSTDC_HEADERS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LRINTF=1 -DHAVE_STRLCPY=1 -DHAVE_DIRNAME=1 -DHAVE_BASENAME=1 -DHAVE_STRCASECMP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_PTHREAD=1 -DHAVE__TMP_DUMMY1_ZLIB_H=1 -DHAVE_ZLIB=1 -DHAVE_DECL_POSIX_FADVISE=0 -Dva_copy=__va_copy -DHAVE_LIBINTL_H=1 -DGETTEXT_PACKAGE=\"transmission\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -I.  -I. -I.. -I../third-party/ -D__TRANSMISSION__ -I../third-party/libevent -DPACKAGE_DATA_DIR=\""/boot/common/share"\"  -I/boot/common/include   -I/boot/common/include     -g -O2 -g -O0 -ggdb3 -Wall -W -Wpointer-arith -Wformat-security -Wcast-align -Wundef -Wcast-align -Wstrict-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wwrite-strings -c bandwidth.c 
     24In file included from /misc_obj/transmission-1.51+/libtransmission/utils.h:19, 
     25                 from /misc_obj/transmission-1.51+/libtransmission/bandwidth.h:22, 
     26                 from /misc_obj/transmission-1.51+/libtransmission/bandwidth.c:19: 
     27/boot/develop/headers/bsd/stdio.h:16: warning: redundant redeclaration of `fgetln' in same scope 
     28/boot/develop/headers/posix/stdio.h:138: warning: previous declaration of `fgetln' 
     29In file included from /misc_obj/transmission-1.51+/libtransmission/utils.h:20, 
     30                 from /misc_obj/transmission-1.51+/libtransmission/bandwidth.h:22, 
     31                 from /misc_obj/transmission-1.51+/libtransmission/bandwidth.c:19: 
     32/boot/develop/headers/posix/string.h:74: warning: redundant redeclaration of `strsignal' in same scope 
     33/boot/develop/headers/posix/signal.h:177: warning: previous declaration of `strsignal' 
     34In file included from /misc_obj/transmission-1.51+/libtransmission/utils.h:21, 
     35                 from /misc_obj/transmission-1.51+/libtransmission/bandwidth.h:22, 
     36                 from /misc_obj/transmission-1.51+/libtransmission/bandwidth.c:19: 
     37/boot/develop/headers/bsd/stdlib.h:16: warning: redundant redeclaration of `daemon' in same scope 
     38/boot/develop/headers/posix/stdlib.h:63: warning: previous declaration of `daemon' 
     39In file included from /misc_obj/transmission-1.51+/libtransmission/net.h:33, 
     40                 from /misc_obj/transmission-1.51+/libtransmission/peer-io.h:31, 
     41                 from /misc_obj/transmission-1.51+/libtransmission/bandwidth.c:21: 
     42/boot/develop/headers/posix/resolv.h:160: field `nsaddr_list' has incomplete type 
     43/boot/develop/headers/posix/resolv.h:170: field `addr' has incomplete type 
     44/boot/develop/headers/posix/resolv.h:194: field `sin' has incomplete type 
     45make[2]: *** [bandwidth.o] Error 1 
     46make[2]: Leaving directory `/misc_obj/transmission-1.51+/libtransmission' 
     47 
     48 
     49}}} 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/