[81087] trunk/dports/net/dnsmasq

snc at macports.org snc at macports.org
Mon Jul 25 03:30:35 PDT 2011


Revision: 81087
          http://trac.macports.org/changeset/81087
Author:   snc at macports.org
Date:     2011-07-25 03:30:33 -0700 (Mon, 25 Jul 2011)
Log Message:
-----------
dnsmasq:
 * fix build for Lion, 30355
 * remove nawk dependency (no longer used in Makefile)

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

Added Paths:
-----------
    trunk/dports/net/dnsmasq/files/patch-src-network.c.diff

Modified: trunk/dports/net/dnsmasq/Portfile
===================================================================
--- trunk/dports/net/dnsmasq/Portfile	2011-07-25 07:42:34 UTC (rev 81086)
+++ trunk/dports/net/dnsmasq/Portfile	2011-07-25 10:30:33 UTC (rev 81087)
@@ -22,7 +22,6 @@
 homepage            http://www.thekelleys.org.uk/dnsmasq/doc.html
 
 platforms           darwin
-depends_build       port:nawk
 
 notes               "A startup item has been generated that will aid in\
                     starting ${name} with launchd. You must specify the\
@@ -37,6 +36,7 @@
                     rmd160  fa94717d4e0c7d095d734a18a77baa46ddc2cd54
 
 patchfiles          patch-src-config.h.diff \
+                    patch-src-network.c.diff \
                     patch-Makefile.diff
 post-patch {
     reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/config.h

Added: trunk/dports/net/dnsmasq/files/patch-src-network.c.diff
===================================================================
--- trunk/dports/net/dnsmasq/files/patch-src-network.c.diff	                        (rev 0)
+++ trunk/dports/net/dnsmasq/files/patch-src-network.c.diff	2011-07-25 10:30:33 UTC (rev 81087)
@@ -0,0 +1,11 @@
+--- src/network.c.orig	2011-07-25 06:21:49.000000000 -0400
++++ src/network.c	2011-07-25 06:22:13.000000000 -0400
+@@ -14,6 +14,8 @@
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+ 
++#define __APPLE_USE_RFC_3542
++
+ #include "dnsmasq.h"
+ 
+ #ifdef HAVE_LINUX_NETWORK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110725/20b5fe8d/attachment.html>


More information about the macports-changes mailing list