summaryrefslogtreecommitdiff
path: root/net/net-snmp
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2006-06-19 13:46:02 +0000
committerchristos <christos@pkgsrc.org>2006-06-19 13:46:02 +0000
commit9c757a46595666c63fdaa4accdcd14ea0f3eb706 (patch)
treed3ac2511e5450aff0ac2cc6188bab0a091f7046d /net/net-snmp
parent00c73b070e16624212300a2cd42152a671a7820c (diff)
downloadpkgsrc-9c757a46595666c63fdaa4accdcd14ea0f3eb706.tar.gz
Try to make this work for 3.0
Diffstat (limited to 'net/net-snmp')
-rw-r--r--net/net-snmp/patches/patch-ab7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/net-snmp/patches/patch-ab b/net/net-snmp/patches/patch-ab
index 08c237277ce..aa95b92f20b 100644
--- a/net/net-snmp/patches/patch-ab
+++ b/net/net-snmp/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.7 2006/06/17 17:20:56 christos Exp $
+$NetBSD: patch-ab,v 1.8 2006/06/19 13:46:02 christos Exp $
--- agent/mibgroup/ucd-snmp/diskio.c.orig 2005-12-04 09:25:54.000000000 -0500
-+++ agent/mibgroup/ucd-snmp/diskio.c 2006-06-17 13:09:51.000000000 -0400
-@@ -419,6 +419,150 @@
++++ agent/mibgroup/ucd-snmp/diskio.c 2006-06-19 09:44:25.000000000 -0400
+@@ -419,6 +419,151 @@
}
#endif /* bsdi */
@@ -11,6 +11,7 @@ $NetBSD: patch-ab,v 1.7 2006/06/17 17:20:56 christos Exp $
+static int ndisk;
+static int nmib[2] = {CTL_HW, HW_DISKNAMES};
+#ifdef HW_DISKSTATS
++#include <sys/disk.h>
+static int dmib[3] = {CTL_HW, HW_DISKSTATS, sizeof(struct disk_sysctl)};
+static struct disk_sysctl *dk;
+#endif