bsnmpd breaks buildworld

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Tue, 31 Oct 2006 12:47:09 -0800
===> usr.sbin/bsnmpd/bsnmpd (all)
cc -O2 -pipe -march=opteron -I/usr/src/usr.sbin/bsnmpd/bsnmpd/../../../contrib/bsnmp/lib -I/usr/src/usr.sbin/bsnmpd/bsnmpd/../../../contrib/bsnmp/snmpd -I. -DUSE_LIBBEGEMOT -DUSE_TCPWRAPPERS -DQUADFMT='"llu"' -DQUADXFMT='"llx"' -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DHAVE_ERR_H -DHAVE_STRLCPY -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c /usr/src/usr.sbin/bsnmpd/bsnmpd/../../../contrib/bsnmp/snmpd/action.c
/usr/src/usr.sbin/bsnmpd/bsnmpd/../../../contrib/bsnmp/snmpd/action.c:57: error: `OIDX_freeBSDVersion' undeclared here (not in a function)
/usr/src/usr.sbin/bsnmpd/bsnmpd/../../../contrib/bsnmp/snmpd/action.c:65: warning: 'act_getkernstring' defined but not used
*** Error code 1

Stop in /usr/src/usr.sbin/bsnmpd/bsnmpd.
*** Error code 1

troutmask:kargl[201] cd /usr/src
troutmask:kargl[202] find . -type f | xargs grep OIDX_freeBSDVersion
./contrib/bsnmp/snmpd/action.c: oid_freeBSDVersion = OIDX_freeBSDVersion;
grep: ./#cvs.cvsup-32694.1: Permission denied
troutmask:kargl[203] 

This patch fixes the problem.

--- usr.sbin/Makefile.orig      Tue Oct 31 12:46:19 2006
+++ usr.sbin/Makefile   Tue Oct 31 12:46:32 2006
_at__at_ -24,7 +24,6 _at__at_
        ${_boot0cfg} \
        ${_boot98cfg} \
        bootparamd \
-       bsnmpd \
        ${_btxld} \
        burncd \
        ${_cached} \

-- 
Steve
Received on Tue Oct 31 2006 - 19:49:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:02 UTC