pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/net-snmp Fix compilation on Solaris 11.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2844a267d35b
branches:  trunk
changeset: 358310:2844a267d35b
user:      maya <maya%pkgsrc.org@localhost>
date:      Thu Feb 09 09:33:57 2017 +0000

description:
Fix compilation on Solaris 11.2.

Patch by Joern Clausen in PR pkg/49984, also committed upstream:
https://sourceforge.net/p/net-snmp/code/ci/e2ce8bb37819c9ae24d482ac4108772f7b2c9b8c/

diffstat:

 net/net-snmp/distinfo                                                               |   3 +-
 net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__procfs__psinfo.c |  18 ++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r e93e178bca59 -r 2844a267d35b net/net-snmp/distinfo
--- a/net/net-snmp/distinfo     Thu Feb 09 08:19:49 2017 +0000
+++ b/net/net-snmp/distinfo     Thu Feb 09 09:33:57 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.89 2016/06/06 14:11:35 he Exp $
+$NetBSD: distinfo,v 1.90 2017/02/09 09:33:57 maya Exp $
 
 SHA1 (net-snmp-5.7.3.tar.gz) = 97dc25077257680815de44e34128d365c76bd839
 RMD160 (net-snmp-5.7.3.tar.gz) = c5cf54d5723ee417e07f1f9fa3936aef505104a2
@@ -14,6 +14,7 @@
 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__procfs__psinfo.c) = 5ccec9cc26982e05607c3066e1f50763c99e7b4f
 SHA1 (patch-agent_mibgroup_ip-mib_data__access_arp__sysctl.c) = cad87b474cdd469c7ba762ed8a47202c3c6f9240
 SHA1 (patch-agent_mibgroup_kernel__sunos5.c) = 3e345f92f42a47959716b0176096c6b0d91aa65a
 SHA1 (patch-agent_mibgroup_kernel__sunos5.h) = eb80eb5e55020014b1e5524fd572839aefdce5a5
diff -r e93e178bca59 -r 2844a267d35b net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__procfs__psinfo.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/net-snmp/patches/patch-agent_mibgroup_host_data__access_swrun__procfs__psinfo.c       Thu Feb 09 09:33:57 2017 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-agent_mibgroup_host_data__access_swrun__procfs__psinfo.c,v 1.1 2017/02/09 09:33:57 maya Exp $
+
+Fix compilation on Solaris 11.2, from upstream commit:
+https://sourceforge.net/p/net-snmp/code/ci/e2ce8bb37819c9ae24d482ac4108772f7b2c9b8c/
+
+--- agent/mibgroup/host/data_access/swrun_procfs_psinfo.c.orig 2014-12-08 20:23:22.000000000 +0000
++++ agent/mibgroup/host/data_access/swrun_procfs_psinfo.c
+@@ -33,6 +33,10 @@
+ #include <sys/proc.h>
+ #endif
+ 
++#include <sys/processor.h>
++#include <sys/procset.h>
++#include <thread.h>
++
+ #include <net-snmp/net-snmp-includes.h>
+ #include <net-snmp/agent/net-snmp-agent-includes.h>
+ #include <net-snmp/library/container.h>



Home | Main Index | Thread Index | Old Index