summaryrefslogtreecommitdiff
path: root/net/net-snmp
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2019-06-30 21:43:25 +0000
committerkamil <kamil@pkgsrc.org>2019-06-30 21:43:25 +0000
commit495a8f8e76835d5b10e5f79a716d5340b2705991 (patch)
tree16a580f74288535991ec727593ecb8326b1ec9af /net/net-snmp
parentc79488d0bb92425e3b6327a88c0a0068e386a241 (diff)
downloadpkgsrc-495a8f8e76835d5b10e5f79a716d5340b2705991.tar.gz
net-snmp: Fix build on NetBSD 8.99.49
Make usage of LSDEAD conditional.
Diffstat (limited to 'net/net-snmp')
-rw-r--r--net/net-snmp/distinfo4
-rw-r--r--net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c12
2 files changed, 13 insertions, 3 deletions
diff --git a/net/net-snmp/distinfo b/net/net-snmp/distinfo
index d8c80c2141e..82098594805 100644
--- a/net/net-snmp/distinfo
+++ b/net/net-snmp/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.93 2018/02/28 01:52:02 maya Exp $
+$NetBSD: distinfo,v 1.94 2019/06/30 21:43:25 kamil Exp $
SHA1 (net-snmp-5.7.3.tar.gz) = 97dc25077257680815de44e34128d365c76bd839
RMD160 (net-snmp-5.7.3.tar.gz) = c5cf54d5723ee417e07f1f9fa3936aef505104a2
@@ -13,7 +13,7 @@ SHA1 (patch-agent_mibgroup_at.c) = 50842f54d98b3cf7bf7028ddbb582b84b7ae682f
SHA1 (patch-agent_mibgroup_hardware_cpu_cpu__sysctl.c) = d36d2490448c2dfda0383c67deb36fdb31ff18a3
SHA1 (patch-agent_mibgroup_hardware_fsys_fsys_getfsstats.c) = cee9722d9a3f956726a8760b900ed3a375afde3f
SHA1 (patch-agent_mibgroup_hardware_memory_memory__netbsd.c) = 928a5aa99e7893ee91dea3110db8098212e328fa
-SHA1 (patch-agent_mibgroup_host_data__access_swrun__kinfo.c) = f983ae0d99d85ab1ac6dc7cf2d2c0415b6935258
+SHA1 (patch-agent_mibgroup_host_data__access_swrun__kinfo.c) = 39888f6489b89bd6598c453977b29519b2f7968f
SHA1 (patch-agent_mibgroup_host_data__access_swrun__procfs__psinfo.c) = 5ccec9cc26982e05607c3066e1f50763c99e7b4f
SHA1 (patch-agent_mibgroup_ip-mib_data__access_arp__sysctl.c) = cad87b474cdd469c7ba762ed8a47202c3c6f9240
SHA1 (patch-agent_mibgroup_kernel__sunos5.c) = 3e345f92f42a47959716b0176096c6b0d91aa65a
diff --git a/net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c b/net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c
index c55b09f9757..f721059fa21 100644
--- a/net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c
+++ b/net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c
@@ -1,4 +1,4 @@
-$NetBSD: patch-agent_mibgroup_host_data__access_swrun__kinfo.c,v 1.3 2014/12/31 10:06:57 adam Exp $
+$NetBSD: patch-agent_mibgroup_host_data__access_swrun__kinfo.c,v 1.4 2019/06/30 21:43:25 kamil Exp $
--- agent/mibgroup/host/data_access/swrun_kinfo.c.orig 2014-12-08 20:23:22.000000000 +0000
+++ agent/mibgroup/host/data_access/swrun_kinfo.c
@@ -13,3 +13,13 @@ $NetBSD: patch-agent_mibgroup_host_data__access_swrun__kinfo.c,v 1.3 2014/12/31
#include <net-snmp/net-snmp-config.h>
#include <stdio.h>
+@@ -286,7 +290,9 @@ netsnmp_arch_swrun_container_load( netsn
+ case LSSUSPENDED:
+ case LSSTOP: entry->hrSWRunStatus = HRSWRUNSTATUS_NOTRUNNABLE;
+ break;
++#ifdef LSDEAD
+ case LSDEAD:
++#endif
+ case LSZOMB: entry->hrSWRunStatus = HRSWRUNSTATUS_INVALID;
+ break;
+ default: