diff options
author | kim <kim@pkgsrc.org> | 2003-12-30 19:30:48 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 2003-12-30 19:30:48 +0000 |
commit | ae63a11d1a97cbc1d05fa28acc32f0dbab659678 (patch) | |
tree | 97ce22b18cdb52cd995d27f0ce7d4dae7f01fdc5 /net/net-snmp/patches | |
parent | cb9947b3a5fe6ea6275ed3efec71d6c81878b3a1 (diff) | |
download | pkgsrc-ae63a11d1a97cbc1d05fa28acc32f0dbab659678.tar.gz |
Include <sys/param.h> to get __NetBSD_Version__ defined.
Also undefine TOTAL_MEMORY_SYMBOL, since we don't have it
(or at least there is no "total" or "_total").
Diffstat (limited to 'net/net-snmp/patches')
-rw-r--r-- | net/net-snmp/patches/patch-ac | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/net/net-snmp/patches/patch-ac b/net/net-snmp/patches/patch-ac index e5937158fe9..534edaf0a67 100644 --- a/net/net-snmp/patches/patch-ac +++ b/net/net-snmp/patches/patch-ac @@ -1,14 +1,23 @@ -$NetBSD: patch-ac,v 1.1 2003/12/30 05:29:45 christos Exp $ +$NetBSD: patch-ac,v 1.2 2003/12/30 19:30:48 kim Exp $ --- include/net-snmp/system/netbsd.h.orig 2002-04-20 03:30:12.000000000 -0400 -+++ include/net-snmp/system/netbsd.h 2003-12-30 00:20:27.000000000 -0500 -@@ -22,6 +22,11 @@ ++++ include/net-snmp/system/netbsd.h 2003-12-30 14:17:00.000000000 -0500 +@@ -1,5 +1,7 @@ + #include "bsd.h" + ++#include <sys/param.h> ++ + #define PCB_TABLE 1 + #undef TCP_SYMBOL + #define TCP_SYMBOL "tcbtable" +@@ -22,6 +24,12 @@ #define INP_PREV_SYMBOL inp_queue.cqe_prev #define HAVE_INPCBTABLE 1 +#if __NetBSD_Version__ >= 106300000 /* NetBSD 1.6ZD */ +#undef IFADDR_SYMBOL +#define IFADDR_SYMBOL "in_ifaddrhead" ++#undef TOTAL_MEMORY_SYMBOL +#endif + #define UTMP_FILE _PATH_UTMP |