[113020] trunk/dports/net/jigdo

ryandesign at macports.org ryandesign at macports.org
Wed Nov 6 17:19:05 PST 2013


Revision: 113020
          https://trac.macports.org/changeset/113020
Author:   ryandesign at macports.org
Date:     2013-11-06 17:19:05 -0800 (Wed, 06 Nov 2013)
Log Message:
-----------
jigdo: add "#include <stdlib.h>" to fix build failure on Mavericks (#41213)

Modified Paths:
--------------
    trunk/dports/net/jigdo/Portfile

Added Paths:
-----------
    trunk/dports/net/jigdo/files/
    trunk/dports/net/jigdo/files/patch-src-compat.hh.diff

Modified: trunk/dports/net/jigdo/Portfile
===================================================================
--- trunk/dports/net/jigdo/Portfile	2013-11-07 01:09:20 UTC (rev 113019)
+++ trunk/dports/net/jigdo/Portfile	2013-11-07 01:19:05 UTC (rev 113020)
@@ -27,6 +27,8 @@
                     port:gtk2 \
                     port:libiconv
 
+patchfiles          patch-src-compat.hh.diff
+
 configure.args      --without-libdb \
                     --mandir=${prefix}/share/man
 

Added: trunk/dports/net/jigdo/files/patch-src-compat.hh.diff
===================================================================
--- trunk/dports/net/jigdo/files/patch-src-compat.hh.diff	                        (rev 0)
+++ trunk/dports/net/jigdo/files/patch-src-compat.hh.diff	2013-11-07 01:19:05 UTC (rev 113020)
@@ -0,0 +1,13 @@
+--- src/compat.hh.orig	2005-07-02 12:21:35.000000000 -0500
++++ src/compat.hh	2013-11-06 18:24:38.000000000 -0600
+@@ -27,6 +27,10 @@
+ #if WINDOWS
+ #  include <windows.h>
+ #endif
++
++#if HAVE_SETENV
++#  include <stdlib.h>
++#endif
+ //______________________________________________________________________
+ 
+ // No operator<< for uint64, so define our own
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131106/25cb6e0a/attachment.html>


More information about the macports-changes mailing list