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/svn7652


Ignore:
Timestamp:
01/10/09 00:19:48 (7 years ago)
Author:
mmadia
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • net-p2p/transmission/svn7652

    v1 v2  
    1   
     1in addition to 1.42's process,[[BR]] 
     2 
     3in 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]] 
     9remove[[BR]] 
     10-Wextra[[BR]] 
     11-Winit-self[[BR]] 
     12-Wmissing-format-attribute[[BR]] 
     13 
     14 
     15Also in those Makefiles,remove[[BR]] 
     16-std=gnu99[[BR]] 
     17from the CFLAGS = line[[BR]] 
     18 
     19At this point, make will complain about : [[BR]] 
     20libtransmission/net.c:56: `IN6ADDR_ANY_INIT' undeclared here (not in a function[[BR]] 
     21 
     22For fixing it, the best I know so far is :[[BR]] 
     23in libtransmission/net.h [[BR]] 
     24add:[[BR]] 
     25#if defined(__HAIKU__)[[BR]] 
     26#include <resolv.h>[[BR]] 
     27#endif[[BR]] 
     28 
     29However 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]] 
     33transmission-1.42+-svn7652/libtransmission/bandwidth.c: In function `tr_bandwidthAllocate':[[BR]] 
     34transmission-1.42+-svn7652/libtransmission/bandwidth.c:228: warning: unknown conversion type character `z' in format[[BR]] 
     35transmission-1.42+-svn7652/libtransmission/bandwidth.c:228: warning: too many arguments for format[[BR]] 
     36make[2]: *** [bandwidth.o] Error 1[[BR]] 
     37make[2]: Leaving directory `transmission-1.42+-svn7652/libtransmission'[[BR]] 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

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