Problems with inline and clang are because clang defaults to C99. Instead of patching the code just use C89.
Responsible Changed From-To: freebsd-ports-bugs->araujo Over to maintainer (via the GNATS Auto Assign Tool)
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 _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!