pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2019Q2]: pkgsrc/net/net-snmp Pullup ticket #5983 - requested b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a20dec1ca253
branches:  pkgsrc-2019Q2
changeset: 335876:a20dec1ca253
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Tue Jul 02 09:40:31 2019 +0000

description:
Pullup ticket #5983 - requested by kamil
net/net-snmp: build fix for PR pkg/54333

Revisions pulled up:
- net/net-snmp/distinfo                                         1.94
- net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c 1.4

---
   Module Name:    pkgsrc
   Committed By:   kamil
   Date:           Sun Jun 30 21:43:25 UTC 2019

   Modified Files:
           pkgsrc/net/net-snmp: distinfo
           pkgsrc/net/net-snmp/patches:
               patch-agent_mibgroup_host_data__access_swrun__kinfo.c

   Log Message:
   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 85697b48b199 -r a20dec1ca253 net/net-snmp/distinfo
--- a/net/net-snmp/distinfo     Sun Jun 30 19:05:48 2019 +0000
+++ b/net/net-snmp/distinfo     Tue Jul 02 09:40:31 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.93 2018/02/28 01:52:02 maya Exp $
+$NetBSD: distinfo,v 1.93.12.1 2019/07/02 09:40:31 bsiegert 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 85697b48b199 -r a20dec1ca253 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 19:05:48 2019 +0000
+++ b/net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__kinfo.c        Tue Jul 02 09:40:31 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.3.38.1 2019/07/02 09:40:31 bsiegert 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