Index: Makefile =================================================================== RCS file: /home/ncvs/ports/security/tripwire/Makefile,v --- Makefile 20 Jun 2006 01:47:23 -0000 1.36 +++ Makefile 23 May 2007 06:33:43 -0000 @@ -57,6 +57,10 @@ RUN_DEPENDS= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport .endif +.if ${OSVERSION} >= 700042 +EXTRA_PATCHES+= ${FILESDIR}/tripwire-gcc4-patch +.endif + PLIST_SUB+= TWCFG=${TWCFG} TWDB=${TWDB} pre-configure: Index: files/tripwire-gcc4-patch =================================================================== RCS file: files/tripwire-gcc4-patch --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/tripwire-gcc4-patch 23 May 2007 06:21:33 -0000 @@ -0,0 +1,31 @@ +--- src/fco/fconame.h-orig Thu Sep 15 22:12:38 2005 ++++ src/fco/fconame.h Tue May 22 19:15:46 2007 +@@ -49,6 +49,7 @@ + /////////////////////////////////////////////////////////////////////////////// + class cFCONameTblNode; + class cFCONameIter; ++class cFCOName_i; + + class cFCOName : public iTypedSerializable + { +--- src/fco/fcosetimpl.h-orig Thu Sep 15 22:12:38 2005 ++++ src/fco/fcosetimpl.h Tue May 22 19:16:54 2007 +@@ -46,6 +46,8 @@ + #include "fconame.h" + #endif + ++class cFCOIterImpl; ++ + class cFCOSetImpl : public iFCOSet + { + friend class cFCOIterImpl; +--- src/tw/fcoreport.h-orig Thu Sep 15 22:12:37 2005 ++++ src/tw/fcoreport.h Tue May 22 19:18:17 2007 +@@ -74,6 +74,7 @@ + class cFCOName; + class cFCOReport_i; + class cFCOReportGenreIter_i; ++class cFCOReportSpecIter; + class cFCOReportSpecIter_i; + class cFCOReportChangeIter_i; + class iFCOSpec;