Tripwire fails to build on 7.0-CURRENT after import of GCC 4.2. gmake[1]: Entering directory `/usr/ports/security/tripwire/work/tripwire-2.4.0.1/src/fco' c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I/usr/local/include -O2 -fno-strict-aliasing -pipe -c -o fco.o fco.cpp c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I/usr/local/include -O2 -fno-strict-aliasing -pipe -c -o fcocompare.o fcocompare.cpp c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I/usr/local/include -O2 -fno-strict-aliasing -pipe -c -o fcodatasourceiter.o fcodatasourceiter.cpp In file included from fcodatasourceiter.h:50, from fcodatasourceiter.cpp:41: fconame.h:147: error: ISO C++ forbids declaration of 'cFCOName_i' with no type fconame.h:147: error: expected ';' before '*' token gmake[1]: *** [fcodatasourceiter.o] Error 1 gmake[1]: Leaving directory `/usr/ports/security/tripwire/work/tripwire-2.4.0.1/src/fco' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop in /usr/ports/security/tripwire. This type of error occurs in 3 files: src/fco/fconame.h src/fco/fcosetimpl.h src/tw/fcoreport.h I found the solution thru a google search. Fix: Apply the attached patch. Patch attached with submission follows: How-To-Repeat: On a recent 7-CURRENT system: cd /usr/ports/security/tripwire make build
Responsible Changed From-To: freebsd-ports-bugs->cy Over to maintainer
cy 2007-10-10 19:12:46 UTC FreeBSD ports repository Added files: security/tripwire/files patch-src-fco-fconame.h patch-src-fco-fcosetimpl.h patch-src-tw-fcoreport.h Log: Fix build under 7.0-CURRENT (gcc 4.2.1 20070719). PR: 112884 Submitted by: Scot Hetzel<swhetzel@gmail.com> Revision Changes Path 1.1 +10 -0 ports/security/tripwire/files/patch-src-fco-fconame.h (new) 1.1 +11 -0 ports/security/tripwire/files/patch-src-fco-fcosetimpl.h (new) 1.1 +10 -0 ports/security/tripwire/files/patch-src-tw-fcoreport.h (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks for the patch.