[142881] trunk/dports/net/net-snmp
jeremyhu at macports.org
jeremyhu at macports.org
Sat Dec 12 07:37:54 PST 2015
Revision: 142881
https://trac.macports.org/changeset/142881
Author: jeremyhu at macports.org
Date: 2015-11-25 12:44:04 -0800 (Wed, 25 Nov 2015)
Log Message:
-----------
net-snmp: Future-proofing
Modified Paths:
--------------
trunk/dports/net/net-snmp/Portfile
Added Paths:
-----------
trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin16.h.diff
trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin17.h.diff
trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin18.h.diff
Modified: trunk/dports/net/net-snmp/Portfile
===================================================================
--- trunk/dports/net/net-snmp/Portfile 2015-11-25 17:26:34 UTC (rev 142880)
+++ trunk/dports/net/net-snmp/Portfile 2015-11-25 20:44:04 UTC (rev 142881)
@@ -37,6 +37,9 @@
# 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
+ copy ${worksrcpath}/include/net-snmp/system/darwin13.h ${worksrcpath}/include/net-snmp/system/darwin16.h
+ copy ${worksrcpath}/include/net-snmp/system/darwin13.h ${worksrcpath}/include/net-snmp/system/darwin17.h
+ copy ${worksrcpath}/include/net-snmp/system/darwin13.h ${worksrcpath}/include/net-snmp/system/darwin18.h
}
patchfiles patch-configure.diff
@@ -45,6 +48,9 @@
patchfiles-append patch-include-net-snmp-system-darwin13.h.diff
patchfiles-append patch-include-net-snmp-system-darwin14.h.diff
patchfiles-append patch-include-net-snmp-system-darwin15.h.diff
+patchfiles-append patch-include-net-snmp-system-darwin16.h.diff
+patchfiles-append patch-include-net-snmp-system-darwin17.h.diff
+patchfiles-append patch-include-net-snmp-system-darwin18.h.diff
patchfiles-append patch-Makefile.in.diff
configure.env-append PERLPROG=${prefix}/bin/perl${perl_version}
Added: trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin16.h.diff
===================================================================
--- trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin16.h.diff (rev 0)
+++ trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin16.h.diff 2015-11-25 20:44:04 UTC (rev 142881)
@@ -0,0 +1,22 @@
+--- include/net-snmp/system/darwin16.h.orig 2014-12-08 14:23:22.000000000 -0600
++++ include/net-snmp/system/darwin16.h 2015-10-14 00:28:27.000000000 -0500
+@@ -1,5 +1,5 @@
+ /*
+- * While Darwin 10 (aka, Mac OS X 10.6 Snow Leopard) is "BSD-like", it differs
++ * While Darwin 16 (aka, Future Release) is "BSD-like", it differs
+ * substantially enough to not warrant pretending it is a BSD flavor.
+ * This first section are the vestigal BSD remnants.
+ */
+@@ -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 16
++#ifndef darwin16
++# define darwin16 darwin
+ #endif
+
+ /*
Added: trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin17.h.diff
===================================================================
--- trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin17.h.diff (rev 0)
+++ trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin17.h.diff 2015-11-25 20:44:04 UTC (rev 142881)
@@ -0,0 +1,22 @@
+--- include/net-snmp/system/darwin17.h.orig 2014-12-08 14:23:22.000000000 -0600
++++ include/net-snmp/system/darwin17.h 2015-10-14 00:28:27.000000000 -0500
+@@ -1,5 +1,5 @@
+ /*
+- * While Darwin 10 (aka, Mac OS X 10.6 Snow Leopard) is "BSD-like", it differs
++ * While Darwin 17 (aka, Future Release) is "BSD-like", it differs
+ * substantially enough to not warrant pretending it is a BSD flavor.
+ * This first section are the vestigal BSD remnants.
+ */
+@@ -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 17
++#ifndef darwin17
++# define darwin17 darwin
+ #endif
+
+ /*
Added: trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin18.h.diff
===================================================================
--- trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin18.h.diff (rev 0)
+++ trunk/dports/net/net-snmp/files/patch-include-net-snmp-system-darwin18.h.diff 2015-11-25 20:44:04 UTC (rev 142881)
@@ -0,0 +1,22 @@
+--- include/net-snmp/system/darwin18.h.orig 2014-12-08 14:23:22.000000000 -0600
++++ include/net-snmp/system/darwin18.h 2015-10-14 00:28:27.000000000 -0500
+@@ -1,5 +1,5 @@
+ /*
+- * While Darwin 10 (aka, Mac OS X 10.6 Snow Leopard) is "BSD-like", it differs
++ * While Darwin 18 (aka, Future Release) is "BSD-like", it differs
+ * substantially enough to not warrant pretending it is a BSD flavor.
+ * This first section are the vestigal BSD remnants.
+ */
+@@ -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 18
++#ifndef darwin18
++# define darwin18 darwin
+ #endif
+
+ /*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/f7e91e24/attachment.html>
More information about the macports-changes
mailing list