summaryrefslogtreecommitdiff
path: root/net/net-snmp/patches/patch-df
diff options
context:
space:
mode:
Diffstat (limited to 'net/net-snmp/patches/patch-df')
-rw-r--r--net/net-snmp/patches/patch-df10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/net-snmp/patches/patch-df b/net/net-snmp/patches/patch-df
index 2f5e450b7a4..033cf84c795 100644
--- a/net/net-snmp/patches/patch-df
+++ b/net/net-snmp/patches/patch-df
@@ -1,7 +1,7 @@
-$NetBSD: patch-df,v 1.3 2008/09/18 13:40:10 joerg Exp $
+$NetBSD: patch-df,v 1.4 2011/05/27 10:55:25 adam Exp $
---- agent/mibgroup/hardware/cpu.h.orig 2008-09-16 15:31:44 +0300
-+++ agent/mibgroup/hardware/cpu.h 2008-09-16 15:12:05 +0300
+--- agent/mibgroup/hardware/cpu.h.orig 2010-07-29 14:58:47.000000000 +0000
++++ agent/mibgroup/hardware/cpu.h
@@ -12,12 +12,12 @@ config_require(hardware/cpu/cpu_pcp)
#elif defined(irix6)
config_require(hardware/cpu/cpu_sysinfo)
@@ -9,12 +9,12 @@ $NetBSD: patch-df,v 1.3 2008/09/18 13:40:10 joerg Exp $
+#elif (defined(freebsd2) || defined(freebsd3) || defined(dragonfly))
+config_require(hardware/cpu/cpu_nlist)
+
- #elif (defined(netbsd) || defined(netbsd1) || defined(netbsdelf) || defined(netbsdelf2)|| defined(netbsdelf3) || defined(openbsd2) || defined(openbsd3) || defined(openbsd4) || defined(freebsd4) || defined(freebsd5) || defined(freebsd6))
+ #elif (defined(netbsd) || defined(netbsd1) || defined(netbsdelf) || defined(netbsdelf2)|| defined(netbsdelf3) || defined(openbsd2) || defined(openbsd3) || defined(openbsd4) || defined(freebsd4) || defined(freebsd5) || defined(freebsd6))
config_require(hardware/cpu/cpu_sysctl)
-#elif (defined(freebsd2) || defined(freebsd3))
-config_require(hardware/cpu/cpu_nlist)
-
- #elif (defined(aix4) || defined(aix5) || defined(aix6))
+ #elif (defined(aix4) || defined(aix5) || defined(aix6) || defined(aix7))
config_require(hardware/cpu/cpu_perfstat)