[haiku-commits] haiku: hrev45919 - src/bin/network/wget

  • From: anevilyak@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 28 Jul 2013 20:15:49 +0200 (CEST)

hrev45919 adds 1 changeset to branch 'master'
old head: e7c4ad324ea6feaed3eb8c874022cee5ed0aa815
new head: 0a1334de2875e75f98ec55bb33fbb0e4db6643d1
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=0a1334d+%5Ee7c4ad3

----------------------------------------------------------------------------

0a1334d: Fix wget on x86-64.
  
  Define HAVE_ARPA_INET_H for the wget build. Otherwise, e.g. inet_ntoa
  would get an implicit declaration with a return type of int, leading to
  the returned character pointer getting truncated on x86-64, and
  consequently random crashes.

                                      [ Rene Gollent <anevilyak@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev45919
Commit:      0a1334de2875e75f98ec55bb33fbb0e4db6643d1
URL:         http://cgit.haiku-os.org/haiku/commit/?id=0a1334d
Author:      Rene Gollent <anevilyak@xxxxxxxxx>
Date:        Sun Jul 28 18:14:22 2013 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 1 deletion(-)
src/bin/network/wget/Jamfile | 2 +-

----------------------------------------------------------------------------

diff --git a/src/bin/network/wget/Jamfile b/src/bin/network/wget/Jamfile
index a9d1f7b..3131d3b 100644
--- a/src/bin/network/wget/Jamfile
+++ b/src/bin/network/wget/Jamfile
@@ -2,7 +2,7 @@ SubDir HAIKU_TOP src bin network wget ;
 
 UseHeaders [ FDirName $(SUBDIR) src ] : true ;
 
-local defines = [ FDefines HAVE_CONFIG_H=1 ] ;
+local defines = [ FDefines HAVE_CONFIG_H=1 HAVE_ARPA_INET_H=1 ] ;
 
 SubDirCcFlags $(defines) ;
 SubDirC++Flags $(defines) ;


Other related posts:

  • » [haiku-commits] haiku: hrev45919 - src/bin/network/wget - anevilyak