diff options
author | tron <tron@pkgsrc.org> | 2008-06-06 16:18:03 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2008-06-06 16:18:03 +0000 |
commit | ca02394a1740dc2e56be5024ed00b426ab4ec0b0 (patch) | |
tree | 61202c5f9ec96107eb85a4a8d5faa19d08e78c61 /net/net-snmp/patches | |
parent | c3c673e66e304db44fb4908cc84df129b0c16de3 (diff) | |
download | pkgsrc-ca02394a1740dc2e56be5024ed00b426ab4ec0b0.tar.gz |
Combine the to patches for "agent/mibgroup/mibII/ip.c" to make this
actually build.
Diffstat (limited to 'net/net-snmp/patches')
-rw-r--r-- | net/net-snmp/patches/patch-ai | 13 | ||||
-rw-r--r-- | net/net-snmp/patches/patch-dk | 16 |
2 files changed, 9 insertions, 20 deletions
diff --git a/net/net-snmp/patches/patch-ai b/net/net-snmp/patches/patch-ai index fd09a9c04c6..665077a5a41 100644 --- a/net/net-snmp/patches/patch-ai +++ b/net/net-snmp/patches/patch-ai @@ -1,8 +1,8 @@ -$NetBSD: patch-ai,v 1.4 2008/06/05 19:09:41 christos Exp $ +$NetBSD: patch-ai,v 1.5 2008/06/06 16:18:04 tron Exp $ ---- agent/mibgroup/mibII/ip.c.orig 2008-06-05 13:45:21.000000000 -0400 -+++ agent/mibgroup/mibII/ip.c 2008-06-04 19:36:30.000000000 -0400 -@@ -217,6 +217,13 @@ +--- agent/mibgroup/mibII/ip.c.orig 2008-06-06 15:51:31.000000000 +0100 ++++ agent/mibgroup/mibII/ip.c 2008-06-06 15:55:38.000000000 +0100 +@@ -212,6 +212,18 @@ #define USES_TRADITIONAL_IPSTAT #endif @@ -13,6 +13,11 @@ $NetBSD: patch-ai,v 1.4 2008/06/05 19:09:41 christos Exp $ +#define IP_STAT_STRUCTURE struct ipstat +#endif + ++#ifdef dragonfly ++#define IP_STAT_STRUCTURE struct ip_stats ++#define USES_TRADITIONAL_IPSTAT ++#endif ++ #if !defined(IP_STAT_STRUCTURE) #define IP_STAT_STRUCTURE struct ipstat #define USES_TRADITIONAL_IPSTAT diff --git a/net/net-snmp/patches/patch-dk b/net/net-snmp/patches/patch-dk deleted file mode 100644 index 2fe796f9672..00000000000 --- a/net/net-snmp/patches/patch-dk +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-dk,v 1.2 2007/02/05 12:06:16 adam Exp $ - ---- agent/mibgroup/mibII/ip.c.orig 2006-09-15 02:48:40.000000000 +0200 -+++ agent/mibgroup/mibII/ip.c -@@ -212,6 +212,11 @@ long ipTTL, oldipTTL; - #define USES_TRADITIONAL_IPSTAT - #endif - -+#ifdef dragonfly -+#define IP_STAT_STRUCTURE struct ip_stats -+#define USES_TRADITIONAL_IPSTAT -+#endif -+ - #if !defined(IP_STAT_STRUCTURE) - #define IP_STAT_STRUCTURE struct ipstat - #define USES_TRADITIONAL_IPSTAT |