diff options
author | obache <obache@pkgsrc.org> | 2011-10-16 09:30:39 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-10-16 09:30:39 +0000 |
commit | 47b5675e4cec02a1525bab2bc8df72c464d702d2 (patch) | |
tree | 924bad3bc523b5f7db5bd592ef1d21ac59a8b2be /net | |
parent | 05b9d45678453506f32ca7af0d89dc2b7ad8a156 (diff) | |
download | pkgsrc-47b5675e4cec02a1525bab2bc8df72c464d702d2.tar.gz |
Fixes build on DragonFly BSD (missing IFM_TOKEN).
Based on PR pkg/45474 by Samuel J. Greear.
Diffstat (limited to 'net')
-rw-r--r-- | net/net-snmp/distinfo | 4 | ||||
-rw-r--r-- | net/net-snmp/patches/patch-ao | 22 |
2 files changed, 21 insertions, 5 deletions
diff --git a/net/net-snmp/distinfo b/net/net-snmp/distinfo index 924b324206a..29ce95b160f 100644 --- a/net/net-snmp/distinfo +++ b/net/net-snmp/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.62 2011/05/31 10:52:30 adam Exp $ +$NetBSD: distinfo,v 1.63 2011/10/16 09:30:39 obache Exp $ SHA1 (net-snmp-5.6.1.1.tar.gz) = ec88ba3e0dff4d1b3d342ccebb48ea84c9fa6fa9 RMD160 (net-snmp-5.6.1.1.tar.gz) = 9a4a83f7fe9431a0694b5fee33866ccea80fcab4 @@ -16,7 +16,7 @@ SHA1 (patch-ak) = 8a7b26b29dcce292355c8239d6b5a2b9fe0b3253 SHA1 (patch-al) = 468394dc540329449c074a6f19ab3e0287041607 SHA1 (patch-am) = db771145f72a043beeb589e450617e42ca5d5c00 SHA1 (patch-an) = 6f47b44697f22d322e35b83d47aa5f7383a8c7cd -SHA1 (patch-ao) = 1e07e0714c2a682b387c918d004222ddc121a2e8 +SHA1 (patch-ao) = 989b410de3a28c37a50581a6f8d109f448b2b421 SHA1 (patch-ap) = 36032fefe04671a0a5f7db765bdd2115963d01f1 SHA1 (patch-aq) = b639bceac59a987ec779fe472fa4e97aa7b24204 SHA1 (patch-da) = 7466445c8388492344acdee236b153cb5f5b45e1 diff --git a/net/net-snmp/patches/patch-ao b/net/net-snmp/patches/patch-ao index 434b47076a5..f9effdf855f 100644 --- a/net/net-snmp/patches/patch-ao +++ b/net/net-snmp/patches/patch-ao @@ -1,6 +1,6 @@ -$NetBSD: patch-ao,v 1.2 2011/05/27 10:55:25 adam Exp $ +$NetBSD: patch-ao,v 1.3 2011/10/16 09:30:39 obache Exp $ ---- agent/mibgroup/if-mib/data_access/interface_sysctl.c.orig 2011-04-27 11:24:58.000000000 +0000 +--- agent/mibgroup/if-mib/data_access/interface_sysctl.c.orig 2010-07-21 19:24:11 +0000 +++ agent/mibgroup/if-mib/data_access/interface_sysctl.c @@ -49,7 +49,11 @@ # define ARCH_PROMISC_FLAG IFF_PROMISC @@ -14,7 +14,23 @@ $NetBSD: patch-ao,v 1.2 2011/05/27 10:55:25 adam Exp $ /* sa_len roundup macro. */ #define ROUNDUP(a) \ -@@ -472,7 +476,11 @@ netsnmp_arch_interface_container_load(ne +@@ -183,6 +187,7 @@ netsnmp_sysctl_ifmedia_to_speed(int medi + #endif + } + break; ++#ifdef IFM_TOKEN + case IFM_TOKEN: + switch (IFM_SUBTYPE(media)) { + case IFM_TOK_STP4: +@@ -204,6 +209,7 @@ netsnmp_sysctl_ifmedia_to_speed(int medi + #endif + } + break; ++#endif + #ifdef IFM_ATM + case IFM_ATM: + switch (IFM_SUBTYPE(media)) { +@@ -472,7 +478,11 @@ netsnmp_arch_interface_container_load(ne NETSNMP_INTERFACE_FLAGS_HAS_DROPS | NETSNMP_INTERFACE_FLAGS_HAS_MCAST_PKTS; |