1diff -Naur net-snmp-5.6.orig/include/net-snmp/system/darwin13.h net-snmp-5.6.working/include/net-snmp/system/darwin13.h 2--- net-snmp-5.6.orig/include/net-snmp/system/darwin13.h 1969-12-31 16:00:00.000000000 -0800 3+++ net-snmp-5.6.working/include/net-snmp/system/darwin13.h 2013-04-25 17:56:45.000000000 -0700 4@@ -0,0 +1,15 @@ 5+/* This is a place for the changes needed to get net_snmp runnning on darwin13 6+ Currently this just entails including darwin12.h 7+*/ 8+ 9+/* for now copy the constant into our sources, see <rdar://problem/12801140> */ 10+#ifndef PR_SLOWHZ 11+#define PR_SLOWHZ 2 /* 2 slow timeouts per second */ 12+#endif 13+ 14+#include "darwin12.h" 15+ 16+#ifndef darwin13 17+# define darwin13 darwin 18+#endif 19+ 20diff -Naur net-snmp-5.4.1.orig/include/net-snmp/system/darwin12.h net-snmp-5.4.1/include/net-snmp/system/darwin12.h 21--- net-snmp-5.4.1.orig/include/net-snmp/system/darwin12.h 1969-12-31 16:00:00.000000000 -0800 22+++ net-snmp-5.4.1/include/net-snmp/system/darwin12.h 2009-10-30 15:13:42.000000000 -0800 23@@ -0,0 +1,9 @@ 24+/* This is a place for the changes needed to get net_snmp runnning on darwin12 25+ Currently this just entails including darwin11.h 26+*/ 27+ 28+#include "darwin11.h" 29+ 30+#ifndef darwin12 31+# define darwin12 darwin 32+#endif 33diff -Naur net-snmp-5.4.1.orig/include/net-snmp/system/darwin11.h net-snmp-5.4.1/include/net-snmp/system/darwin11.h 34--- net-snmp-5.4.1.orig/include/net-snmp/system/darwin11.h 1969-12-31 16:00:00.000000000 -0800 35+++ net-snmp-5.4.1/include/net-snmp/system/darwin11.h 2009-10-30 15:13:42.000000000 -0800 36@@ -0,0 +1,10 @@ 37+/* This is a place for the changes needed to get net_snmp runnning on darwin11 including 38+ support for the new UNAME_RELEASE version 39+ Currently this just enatils including darwin10.h 40+*/ 41+ 42+#include "darwin10.h" 43+ 44+#ifndef darwin11 45+# define darwin11 darwin 46+#endif 47diff -Naur net-snmp-5.4.1.orig/Makefile.in net-snmp-5.4.1/Makefile.in 48--- net-snmp-5.4.1.orig/Makefile.in 2008-01-24 15:08:15.000000000 -0800 49+++ net-snmp-5.4.1/Makefile.in 2009-10-30 15:06:35.000000000 -0800 50@@ -16,7 +16,7 @@ 51 INSTALLHEADERS=version.h 52 INCLUDESUBDIR=system 53 INCLUDESUBDIRHEADERS= aix.h bsd.h bsdi3.h bsdi4.h bsdi.h cygwin.h \ 54- darwin.h darwin7.h darwin8.h darwin9.h darwin10.h dragonfly.h dynix.h \ 55+ darwin.h darwin7.h darwin8.h darwin9.h darwin10.h darwin11.h darwin12.h darwin13.h dragonfly.h dynix.h \ 56 freebsd2.h freebsd3.h freebsd4.h freebsd5.h freebsd6.h freebsd.h \ 57 generic.h \ 58 hpux.h irix.h linux.h mingw32.h mips.h netbsd.h openbsd.h osf5.h \ 59 solaris2.3.h solaris2.4.h solaris2.5.h solaris2.6.h \ 60 61