diff -r d0df67c21897 -r 300d43423c2e snmp/snmp.patch --- a/snmp/snmp.patch Tue Aug 28 18:42:20 2012 +0200 +++ b/snmp/snmp.patch Wed Feb 08 20:07:00 2012 +0200 @@ -1,16 +1,3 @@ -Index: Makefile.in -diff -Nau Makefile.in.orig Makefile.in ---- Makefile.in.orig 2011-07-02 00:35:46.000000000 +0200 -+++ Makefile.in 2011-09-15 09:22:50.255341188 +0200 -@@ -19,7 +19,7 @@ - INCLUDESUBDIR=system - INCLUDESUBDIRHEADERS= aix.h bsd.h bsdi3.h bsdi4.h bsdi.h cygwin.h \ - darwin.h darwin7.h darwin8.h darwin9.h darwin10.h dragonfly.h dynix.h \ -- freebsd2.h freebsd3.h freebsd4.h freebsd5.h freebsd6.h freebsd.h \ -+ freebsd2.h freebsd3.h freebsd4.h freebsd5.h freebsd6.h freebsd7.h freebsd8.h freebsd9.h freebsd.h \ - generic.h \ - hpux.h irix.h linux.h mingw32.h mips.h netbsd.h openbsd.h osf5.h \ - solaris2.3.h solaris2.4.h solaris2.5.h solaris2.6.h \ Index: agent/auto_nlist.c diff -Nau agent/auto_nlist.c.orig agent/auto_nlist.c --- agent/auto_nlist.c.orig 2011-07-02 00:35:46.000000000 +0200 @@ -154,7 +141,7 @@ diff -Nau apps/snmptrapd.c.orig apps/snmptrapd.c --- apps/snmptrapd.c.orig 2011-07-02 00:35:46.000000000 +0200 +++ apps/snmptrapd.c 2011-09-15 09:22:50.270293197 +0200 -@@ -657,6 +657,7 @@ +@@ -653,6 +653,7 @@ */ #if HAVE_GETPID strcat(options, "p:"); @@ -176,30 +163,11 @@ #endif NETSNMP_IMPORT -Index: include/net-snmp/system/freebsd8.h -diff -Nau include/net-snmp/system/freebsd8.h.orig include/net-snmp/system/freebsd8.h ---- include/net-snmp/system/freebsd8.h.orig 2011-07-02 00:35:46.000000000 +0200 -+++ include/net-snmp/system/freebsd8.h 2011-09-15 09:22:50.272179012 +0200 -@@ -1,3 +1,6 @@ -+/* freebsd8 is a superset of freebsd7 */ -+#include "freebsd7.h" -+#define freebsd7 freebsd7 - /* freebsd8 is a superset of freebsd4 */ - #include "freebsd7.h" - #define freebsd7 freebsd7 -Index: include/net-snmp/system/freebsd9.h -diff -Nau include/net-snmp/system/freebsd9.h.orig include/net-snmp/system/freebsd9.h ---- include/net-snmp/system/freebsd9.h.orig 1970-01-01 01:00:00.000000000 +0100 -+++ include/net-snmp/system/freebsd9.h 2011-09-15 09:22:50.272889416 +0200 -@@ -0,0 +1,3 @@ -+/* freebsd9 is a superset of freebsd8 */ -+#include "freebsd8.h" -+#define freebsd8 freebsd8 Index: snmplib/system.c diff -Nau snmplib/system.c.orig snmplib/system.c --- snmplib/system.c.orig 2011-07-02 00:35:46.000000000 +0200 +++ snmplib/system.c 2011-09-15 09:22:50.274625796 +0200 -@@ -1044,7 +1044,7 @@ +@@ -1048,7 +1048,7 @@ #ifndef HAVE_SETENV int