diff options
author | araujo <araujo@FreeBSD.org> | 2013-07-12 13:41:05 +0800 |
---|---|---|
committer | araujo <araujo@FreeBSD.org> | 2013-07-12 13:41:05 +0800 |
commit | 5aafedcf8727068ea89c02cbe676aa9e736393b7 (patch) | |
tree | 12435e54b941bdfd8de185b3d60d512d9624c61e /sysutils | |
parent | 9630783a287e855a62cd35e46c5474183f48c867 (diff) | |
download | freebsd-ports-gnome-5aafedcf8727068ea89c02cbe676aa9e736393b7.tar.gz freebsd-ports-gnome-5aafedcf8727068ea89c02cbe676aa9e736393b7.tar.zst freebsd-ports-gnome-5aafedcf8727068ea89c02cbe676aa9e736393b7.zip |
- Instead of patching the code just use C89 and stop the problems with inline.
PR: ports/180269
Submitted by: tijl@
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/pftop/Makefile | 2 |
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 |