summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorchristos <christos>2006-06-19 13:46:02 +0000
committerchristos <christos>2006-06-19 13:46:02 +0000
commitfb69f3607661a86e543bebce8a0d46c6d7f592e1 (patch)
treed3ac2511e5450aff0ac2cc6188bab0a091f7046d /net
parentaa0e9188576c5f159290211d8abf6ea9b75c0267 (diff)
downloadpkgsrc-fb69f3607661a86e543bebce8a0d46c6d7f592e1.tar.gz
Try to make this work for 3.0
Diffstat (limited to 'net')
-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