aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pftop
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2013-07-12 05:41:05 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2013-07-12 05:41:05 +0000
commit816246941636591d3153c59f2d9704580a6ca171 (patch)
tree12435e54b941bdfd8de185b3d60d512d9624c61e /sysutils/pftop
parent3df3a4e33fe65a470e73f64280ccf009582c8075 (diff)
downloadports-816246941636591d3153c59f2d9704580a6ca171.tar.gz
ports-816246941636591d3153c59f2d9704580a6ca171.zip
- Instead of patching the code just use C89 and stop the problems with inline.
PR: ports/180269 Submitted by: tijl@
Notes
Notes: svn path=/head/; revision=322815
Diffstat (limited to 'sysutils/pftop')
-rw-r--r--sysutils/pftop/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/pftop/Makefile b/sysutils/pftop/Makefile
index 6463a62da547..4ef48f4f6a38 100644
--- a/sysutils/pftop/Makefile
+++ b/sysutils/pftop/Makefile
@@ -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