pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/net-snmp net-snmp: Fix build on NetBSD 8.99.49



details:   https://anonhg.NetBSD.org/pkgsrc/rev/98ae21cca840
branches:  trunk
changeset: 335738:98ae21cca840
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Sun Jun 30 21:43:25 2019 +0000

description:
net-snmp: Fix build on NetBSD 8.99.49

Make usage of LSDEAD conditional.

diffstat:

 net/net-snmp/distinfo                                                      |   4 +-
 net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c |  12 +++++++++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diffs (41 lines):

diff -r 6fd77e1fb006 -r 98ae21cca840 net/net-snmp/distinfo
--- a/net/net-snmp/distinfo     Sun Jun 30 21:41:46 2019 +0000
+++ b/net/net-snmp/distinfo     Sun Jun 30 21:43:25 2019 +0000
@@ -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_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 -r 6fd77e1fb006 -r 98ae21cca840 net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c
--- a/net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c        Sun Jun 30 21:41:46 2019 +0000
+++ b/net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c        Sun Jun 30 21:43:25 2019 +0000
@@ -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 @@
  #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:   



Home | Main Index | Thread Index | Old Index