svn commit: r322815 - head/sysutils/pftop
Marcelo Araujo
araujo at FreeBSD.org
Fri Jul 12 05:41:05 UTC 2013
Author: araujo
Date: Fri Jul 12 05:41:05 2013
New Revision: 322815
URL: http://svnweb.freebsd.org/changeset/ports/322815
Log:
- Instead of patching the code just use C89 and stop the problems with inline.
PR: ports/180269
Submitted by: tijl@
Modified:
head/sysutils/pftop/Makefile
Modified: head/sysutils/pftop/Makefile
==============================================================================
--- head/sysutils/pftop/Makefile Fri Jul 12 05:12:42 2013 (r322814)
+++ head/sysutils/pftop/Makefile Fri Jul 12 05:41:05 2013 (r322815)
@@ -34,6 +34,7 @@ CFLAGS+= -DHAVE_FINE_GRAINED_LOCKING=1
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-engine.c
+MAKE_ARGS+= CSTD=gnu89
MAKE_ENV+= __MAKE_CONF=/dev/null
PLIST_FILES= sbin/pftop
@@ -43,7 +44,6 @@ post-patch:
${WRKSRC}/engine.c
@${REINPLACE_CMD} -e 's|__dead|__dead2|g' ${WRKSRC}/sf-gencode.h
@${REINPLACE_CMD} -e 's|__dead|__dead2|g' ${WRKSRC}/sf-gencode.c
- @${REINPLACE_CMD} -e 's|__inline__|static __inline__|g' ${WRKSRC}/pftop.c
@${REINPLACE_CMD} -e 's|#include <net/if_pflog.h>||g' \
${WRKSRC}/sf-gencode.c
More information about the svn-ports-head
mailing list