pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/net-snmp/patches Try to make this work for 3.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/f6614e71045c
branches: trunk
changeset: 514859:f6614e71045c
user: christos <christos%pkgsrc.org@localhost>
date: Mon Jun 19 13:46:02 2006 +0000
description:
Try to make this work for 3.0
diffstat:
net/net-snmp/patches/patch-ab | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 57d335d0cc64 -r f6614e71045c net/net-snmp/patches/patch-ab
--- a/net/net-snmp/patches/patch-ab Mon Jun 19 13:21:14 2006 +0000
+++ b/net/net-snmp/patches/patch-ab Mon Jun 19 13:46:02 2006 +0000
@@ -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 @@
+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
Home |
Main Index |
Thread Index |
Old Index