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 3 and Version 4 of net-p2p/transmission/1.42/1


Ignore:
Timestamp:
01/09/09 23:17:51 (7 years ago)
Author:
mmadia
Comment:

--

Legend:

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

    v3 v4  
    99apply patch -p0 < transmission-1.42-haiku.diff 
    1010 
    11 libtoolize --force --copy 
    12 autoreconf --force --install -I config -I m4 
    13  ./configure --prefix=/boot/common LDFLAGS="-lnetwork -lintl" 
     11libtoolize --force --copy[[BR]] 
     12autoreconf --force --install -I config -I m4[[BR]] 
     13./configure --prefix=/boot/common LDFLAGS="-lnetwork -lintl"[[BR]] 
    1414 
    15 in files: 
    16   third-party/libnatpmp/Makefile 
    17   third-party/miniupnp/Makefile 
    18   libtransmission/Makefile 
    19   daemon/Makefile 
    20   cli/Makefile 
    21 remove: 
    22 -Wdeclaration-after-statement 
     15in files:[[BR]] 
     16  third-party/libnatpmp/Makefile[[BR]] 
     17  third-party/miniupnp/Makefile[[BR]] 
     18  libtransmission/Makefile[[BR]] 
     19  daemon/Makefile[[BR]] 
     20  cli/Makefile[[BR]] 
     21remove:[[BR]] 
     22-Wdeclaration-after-statement[[BR]] 
    2323 
    2424make 
    … …  
    3636NOTE: 
    3737------------ 
    38 The following two code blocks and make output are referring to third-party/libnatpmp/getgateway.c[[BR]] 
     38The following two code blocks and make output are referring to http://trac.transmissionbt.com/browser/branches/1.4x/third-party/libnatpmp/getgateway.c[[BR]] 
    3939They are included purely for reference as to why #define USE_PROC_NET_ROUTE  is being used. 
    4040 
    4141 
    4242 
    43 ################ 
    44 #ifdef __HAIKU__ 
    45 #undef USE_PROC_NET_ROUTE 
    46 #undef USE_SOCKET_ROUTE 
    47 #define USE_SYSCTL_NET_ROUTE 
    48 #endif 
    49 ################ 
    5043 
    51 make[2]: Entering directory `/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp' 
     44################[[BR]] 
     45#ifdef __HAIKU__[[BR]] 
     46#undef USE_PROC_NET_ROUTE[[BR]] 
     47#undef USE_SOCKET_ROUTE[[BR]] 
     48#define USE_SYSCTL_NET_ROUTE[[BR]] 
     49#endif[[BR]] 
     50################[[BR]] 
     51 
     52make[2]: Entering directory `transmission-1.42-patched/third-party/libnatpmp' 
    5253source='getgateway.c' object='getgateway.o' libtool=no \ 
    5354        DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp \ 
    5455        gcc -DPACKAGE_NAME=\"transmission\" -DPACKAGE_TARNAME=\"transmission\" -DPACKAGE_VERSION=\"1.42\" -DPACKAGE_STRING=\"transmission\ 1.42\" -DPACKAGE_BUGREPORT=\"http://trac.transmissionbt.com/newticket\" -DPACKAGE=\"transmission\" -DVERSION=\"1.42\" -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/\" -DSTDC_HEADERS=1 -Dva_copy\(dest,src\)=memcpy\(\&dest,\&src,sizeof\(va_list\)\) -DHAVE_LIBINTL_H=1 -DGETTEXT_PACKAGE=\"transmission\" -DHAVE_LOCALE_H=1 -I.  -DENABLE_STRNATPMPERR   -g -Wall -Wformat-security -W -Wmissing-prototypes -Wdeclaration-after-statement -O3 -funroll-loops -c getgateway.c 
    55 /stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:67: sys/sysctl.h: No such file or directory 
    56 make[2]: *** [getgateway.o] Error 1 
    57 make[2]: Leaving directory `/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp' 
    58 make[1]: *** [all-recursive] Error 1 
    59 make[1]: Leaving directory `/stuff-a/_code/transmission/transmission-1.42-patched/third-party' 
     56transmission-1.42-patched/third-party/libnatpmp/getgateway.c:67: sys/sysctl.h: No such file or directory[[BR]] 
     57make[2]: *** [getgateway.o] Error 1[[BR]] 
     58make[2]: Leaving directory `transmission-1.42-patched/third-party/libnatpmp'[[BR]] 
     59make[1]: *** [all-recursive] Error 1[[BR]] 
     60make[1]: Leaving directory `transmission-1.42-patched/third-party'[[BR]] 
    6061 
    6162 
    6263 
    63 ################ 
    64 #ifdef __HAIKU__ 
    65 #undef USE_PROC_NET_ROUTE 
    66 #define USE_SOCKET_ROUTE 
    67 #undef USE_SYSCTL_NET_ROUTE 
    68 #endif 
    69 ################ 
     64################[[BR]] 
     65#ifdef __HAIKU__[[BR]] 
     66#undef USE_PROC_NET_ROUTE[[BR]] 
     67#define USE_SOCKET_ROUTE[[BR]] 
     68#undef USE_SYSCTL_NET_ROUTE[[BR]] 
     69#endif[[BR]] 
     70################[[BR]] 
    7071 
    71 make[2]: Entering directory `/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp' 
     72make[2]: Entering directory `transmission-1.42-patched/third-party/libnatpmp' 
    7273source='getgateway.c' object='getgateway.o' libtool=no \ 
    7374        DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp \ 
    74         gcc -DPACKAGE_NAME=\"transmission\" -DPACKAGE_TARNAME=\"transmission\" -DPACKAGE_VERSION=\"1.42\" -DPACKAGE_STRING=\"transmission\ 1.42\" -DPACKAGE_BUGREPORT=\"http://trac.transmissionbt.com/newticket\" -DPACKAGE=\"transmission\" -DVERSION=\"1.42\" -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/\" -DSTDC_HEADERS=1 -Dva_copy\(dest,src\)=memcpy\(\&dest,\&src,sizeof\(va_list\)\) -DHAVE_LIBINTL_H=1 -DGETTEXT_PACKAGE=\"transmission\" -DHAVE_LOCALE_H=1 -I.  -DENABLE_STRNATPMPERR   -g -Wall -Wformat-security -W -Wmissing-prototypes -Wdeclaration-after-statement -O3 -funroll-loops -c getgateway.c 
    75 cc1: Invalid option `-Wdeclaration-after-statement' 
    76 /stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:195: field `m_rtm' has incomplete type 
    77 /stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c: In function `getdefaultgateway': 
    78 /stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:210: `RTA_DST' undeclared (first use in this function) 
    79 /stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:210: (Each undeclared identifier is reported only once 
    80 /stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:210: for each function it appears in.) 
    81 /stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:210: `RTA_NETMASK' undeclared (first use in this function) 
    82 /stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:214: sizeof applied to an incomplete type 
    83 /stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:216: `RTM_GET' undeclared (first use in this function) 
    84 /stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:218: `RTM_VERSION' undeclared (first use in this function) 
    85 /stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:245: arithmetic on pointer to an incomplete type 
    86 /stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:246: dereferencing pointer to incomplete type 
    87 /stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:248: dereferencing pointer to incomplete type 
    88 /stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:250: `RTA_GATEWAY' undeclared (first use in this function) 
    89 /stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp/getgateway.c:206: warning: `msg_hdr' might be used uninitialized in this function 
    90 make[2]: *** [getgateway.o] Error 1 
    91 make[2]: Leaving directory `/stuff-a/_code/transmission/transmission-1.42-patched/third-party/libnatpmp' 
    92 make[1]: *** [all-recursive] Error 1 
    93 make[1]: Leaving directory `/stuff-a/_code/transmission/transmission-1.42-patched/third-party' 
     75        gcc -DPACKAGE_NAME=\"transmission\" -DPACKAGE_TARNAME=\"transmission\" -DPACKAGE_VERSION=\"1.42\" -DPACKAGE_STRING=\"transmission\ 1.42\" -DPACKAGE_BUGREPORT=\"http://trac.transmissionbt.com/newticket\" -DPACKAGE=\"transmission\" -DVERSION=\"1.42\" -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/\" -DSTDC_HEADERS=1 -Dva_copy\(dest,src\)=memcpy\(\&dest,\&src,sizeof\(va_list\)\) -DHAVE_LIBINTL_H=1 -DGETTEXT_PACKAGE=\"transmission\" -DHAVE_LOCALE_H=1 -I.  -DENABLE_STRNATPMPERR   -g -Wall -Wformat-security -W -Wmissing-prototypes -O3 -funroll-loops -c getgateway.c 
     76transmission-1.42-patched/third-party/libnatpmp/getgateway.c:195: field `m_rtm' has incomplete type[[BR]] 
     77transmission-1.42-patched/third-party/libnatpmp/getgateway.c: In function `getdefaultgateway':[[BR]] 
     78transmission-1.42-patched/third-party/libnatpmp/getgateway.c:210: `RTA_DST' undeclared (first use in this function)[[BR]] 
     79transmission-1.42-patched/third-party/libnatpmp/getgateway.c:210: (Each undeclared identifier is reported only once[[BR]] 
     80transmission-1.42-patched/third-party/libnatpmp/getgateway.c:210: for each function it appears in.)[[BR]] 
     81transmission-1.42-patched/third-party/libnatpmp/getgateway.c:210: `RTA_NETMASK' undeclared (first use in this function)[[BR]] 
     82transmission-1.42-patched/third-party/libnatpmp/getgateway.c:214: sizeof applied to an incomplete type[[BR]] 
     83transmission-1.42-patched/third-party/libnatpmp/getgateway.c:216: `RTM_GET' undeclared (first use in this function)[[BR]] 
     84transmission-1.42-patched/third-party/libnatpmp/getgateway.c:218: `RTM_VERSION' undeclared (first use in this function)[[BR]] 
     85transmission-1.42-patched/third-party/libnatpmp/getgateway.c:245: arithmetic on pointer to an incomplete type[[BR]] 
     86transmission-1.42-patched/third-party/libnatpmp/getgateway.c:246: dereferencing pointer to incomplete type[[BR]] 
     87transmission-1.42-patched/third-party/libnatpmp/getgateway.c:248: dereferencing pointer to incomplete type[[BR]] 
     88transmission-1.42-patched/third-party/libnatpmp/getgateway.c:250: `RTA_GATEWAY' undeclared (first use in this function)[[BR]] 
     89transmission-1.42-patched/third-party/libnatpmp/getgateway.c:206: warning: `msg_hdr' might be used uninitialized in this function[[BR]] 
     90make[2]: *** [getgateway.o] Error 1[[BR]] 
     91make[2]: Leaving directory `transmission-1.42-patched/third-party/libnatpmp'[[BR]] 
     92make[1]: *** [all-recursive] Error 1[[BR]] 
     93make[1]: Leaving directory `transmission-1.42-patched/third-party'[[BR]] 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

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