summaryrefslogtreecommitdiff
path: root/net/net-snmp
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-03-23 12:23:24 +0000
committerjoerg <joerg@pkgsrc.org>2013-03-23 12:23:24 +0000
commit08e1cde2a4b9c4f522d37127174ccb74ebdaeb26 (patch)
tree969b5b0d62fbd68debd08a029035b35cd2602293 /net/net-snmp
parent12b23ab3ef05daddc3b07cc44167762c091fc0d3 (diff)
downloadpkgsrc-08e1cde2a4b9c4f522d37127174ccb74ebdaeb26.tar.gz
Include uvm/uvm_extern.h if it exists. Required for NetBSD/current.
Diffstat (limited to 'net/net-snmp')
-rw-r--r--net/net-snmp/distinfo3
-rw-r--r--net/net-snmp/patches/patch-agent_mibgroup_hardware_cpu_cpu__sysctl.c14
2 files changed, 16 insertions, 1 deletions
diff --git a/net/net-snmp/distinfo b/net/net-snmp/distinfo
index 90c38b7db4f..cb225c4006f 100644
--- a/net/net-snmp/distinfo
+++ b/net/net-snmp/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.71 2013/03/17 00:17:34 gdt Exp $
+$NetBSD: distinfo,v 1.72 2013/03/23 12:23:24 joerg Exp $
SHA1 (net-snmp-5.7.2.tar.gz) = c493027907f32400648244d81117a126aecd27ee
RMD160 (net-snmp-5.7.2.tar.gz) = 392d643e9f2f42ee4fa688b4702329ad005ee12e
@@ -6,6 +6,7 @@ Size (net-snmp-5.7.2.tar.gz) = 6281352 bytes
SHA1 (patch-ac) = 59987ecb9467b1cead9af3d4432a4dd69be93480
SHA1 (patch-af) = 4fb96b79f9126dedb8a132d44894ea23c9e8c101
SHA1 (patch-ag) = d9595eceeb5ee986ab4365f62e3c3ab339e605aa
+SHA1 (patch-agent_mibgroup_hardware_cpu_cpu__sysctl.c) = 94ecee1ce97a04c162f4b48199fd46e2f39ff474
SHA1 (patch-agent_mibgroup_hardware_memory_memory__netbsd.c) = fe812fa13dffb4c3716d008381211dda9746c11e
SHA1 (patch-agent_mibgroup_host_data__access_swrun__kinfo.c) = 054866e7c3ac90f183fd4a6d53763a5bba50572c
SHA1 (patch-agent_mibgroup_mibII_ipAddr.c) = cd3345a4b30fe2280d0555ee38feb5f957a55b1e
diff --git a/net/net-snmp/patches/patch-agent_mibgroup_hardware_cpu_cpu__sysctl.c b/net/net-snmp/patches/patch-agent_mibgroup_hardware_cpu_cpu__sysctl.c
new file mode 100644
index 00000000000..28cfcdf9fd9
--- /dev/null
+++ b/net/net-snmp/patches/patch-agent_mibgroup_hardware_cpu_cpu__sysctl.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-agent_mibgroup_hardware_cpu_cpu__sysctl.c,v 1.1 2013/03/23 12:23:25 joerg Exp $
+
+--- agent/mibgroup/hardware/cpu/cpu_sysctl.c.orig 2013-03-23 10:53:47.000000000 +0000
++++ agent/mibgroup/hardware/cpu/cpu_sysctl.c
+@@ -24,6 +24,9 @@
+ #include <sys/param.h>
+ #include <sys/sysctl.h>
+ #include <sys/vmmeter.h>
++#ifdef HAVE_UVM_UVM_EXTERN_H
++#include <uvm/uvm_extern.h>
++#endif
+ #ifdef HAVE_VM_VM_PARAM_H
+ #include <vm/vm_param.h>
+ #endif