diff options
author | christos <christos@pkgsrc.org> | 2006-06-19 13:46:02 +0000 |
---|---|---|
committer | christos <christos@pkgsrc.org> | 2006-06-19 13:46:02 +0000 |
commit | ae1852401dcf6b9d801bff39a18d25bd2ecb0d66 (patch) | |
tree | d3ac2511e5450aff0ac2cc6188bab0a091f7046d /net | |
parent | 4e1ea14272a20a6382b85ca885379c0f539932ee (diff) | |
download | pkgsrc-ae1852401dcf6b9d801bff39a18d25bd2ecb0d66.tar.gz |
Try to make this work for 3.0
Diffstat (limited to 'net')
-rw-r--r-- | net/net-snmp/patches/patch-ab | 7 |
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 |