Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2013 05:41:05 +0000 (UTC)
From:      Marcelo Araujo <araujo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r322815 - head/sysutils/pftop
Message-ID:  <201307120541.r6C5f5tQ075342@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307120541.r6C5f5tQ075342>