[129765] trunk/dports/net/net-snmp

ryandesign at macports.org ryandesign at macports.org
Fri Dec 19 18:02:42 PST 2014


Revision: 129765
          https://trac.macports.org/changeset/129765
Author:   ryandesign at macports.org
Date:     2014-12-19 18:02:42 -0800 (Fri, 19 Dec 2014)
Log Message:
-----------
net-snmp: take a wild guess that darwin15 will follow darwin14

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

Added Paths:
-----------
    trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin15.h.diff

Modified: trunk/dports/net/net-snmp/Portfile
===================================================================
--- trunk/dports/net/net-snmp/Portfile	2014-12-20 02:00:28 UTC (rev 129764)
+++ trunk/dports/net/net-snmp/Portfile	2014-12-20 02:02:42 UTC (rev 129765)
@@ -35,10 +35,12 @@
     # darwin14.h does not exist in 5.7.3
     # https://sourceforge.net/p/net-snmp/bugs/2504/
     copy ${worksrcpath}/include/net-snmp/system/darwin13.h ${worksrcpath}/include/net-snmp/system/darwin14.h
+    copy ${worksrcpath}/include/net-snmp/system/darwin13.h ${worksrcpath}/include/net-snmp/system/darwin15.h
 }
 
 patchfiles              patch-configure.diff
 patchfiles-append       patch-include-net-snmp-system-darwin14.h.diff
+patchfiles-append       patch-include-net-snmp-system-darwin15.h.diff
 
 configure.env-append    PERLPROG=${prefix}/bin/perl${perl_version}
 

Copied: trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin15.h.diff (from rev 129764, trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin14.h.diff)
===================================================================
--- trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin15.h.diff	                        (rev 0)
+++ trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin15.h.diff	2014-12-20 02:02:42 UTC (rev 129765)
@@ -0,0 +1,15 @@
+--- include/net-snmp/system/darwin15.h	2013-10-09 17:28:58.000000000 -0500
++++ include/net-snmp/system/darwin15.h	2014-10-24 00:58:04.000000000 -0500
+@@ -44,9 +44,9 @@
+ /*
+  * This section defines Mac OS X 10.5 (and later) specific additions.
+  */
+-#define darwin 13
+-#ifndef darwin13
+-#   define darwin13 darwin
++#define darwin 15
++#ifndef darwin15
++#   define darwin15 darwin
+ #endif
+ 
+ /*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141219/97945d34/attachment.html>


More information about the macports-changes mailing list