Subject: CVS commit: pkgsrc/net/net-snmp
From: Gavan Fantom
Date: 2017-10-06 04:39:38
Message id: 20171006023938.AC754FBC7@cvs.NetBSD.org

Log Message:
net-snmp: Prevent crash on NetBSD/i386

A compiler bug causes incorrect compilation of the NetBSD-specific
code in cpu_sysctl.c. This results in a crash shortly after startup if
the machine has 2 or more CPUs.

Disable optimisation in netsnmp_cpu_arch_load() only.
This works around the problem reported in PR pkg/50939.

Files:
RevisionActionfile
1.121modifypkgsrc/net/net-snmp/Makefile
1.91modifypkgsrc/net/net-snmp/distinfo
1.7modifypkgsrc/net/net-snmp/patches/patch-agent_mibgroup_hardware_cpu_cpu__sysctl.c