svn commit: r546658 - in head/net-mgmt: argus3 argus3-clients

Tobias C. Berner tcberner at FreeBSD.org
Thu Aug 27 19:07:04 UTC 2020


Author: tcberner
Date: Thu Aug 27 19:06:57 2020
New Revision: 546658
URL: https://svnweb.freebsd.org/changeset/ports/546658

Log:
  net-mgmt/argus3, net-mgmt/argus3-clients: fix build with recent current

Modified:
  head/net-mgmt/argus3-clients/Makefile
  head/net-mgmt/argus3/Makefile

Modified: head/net-mgmt/argus3-clients/Makefile
==============================================================================
--- head/net-mgmt/argus3-clients/Makefile	Thu Aug 27 19:06:57 2020	(r546657)
+++ head/net-mgmt/argus3-clients/Makefile	Thu Aug 27 19:06:57 2020	(r546658)
@@ -27,6 +27,9 @@ USE_CSTD=	gnu89
 GNU_CONFIGURE=	yes
 SHEBANG_FILES=	examples/rahosts/raips.pl
 
+# Fix build with clang11
+CFLAGS+=	-fcommon
+
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MSASL}

Modified: head/net-mgmt/argus3/Makefile
==============================================================================
--- head/net-mgmt/argus3/Makefile	Thu Aug 27 19:06:57 2020	(r546657)
+++ head/net-mgmt/argus3/Makefile	Thu Aug 27 19:06:57 2020	(r546658)
@@ -26,6 +26,9 @@ USE_RC_SUBR=	argus
 USES=		bison perl5
 GNU_CONFIGURE=	yes
 
+# Fix build with clang11
+CFLAGS+=	-fcommon
+
 post-patch:
 	@${REINPLACE_CMD} -e 's#/usr/lib/sasl2#${LOCALBASE}/lib/sasl2#' ${WRKSRC}/argus/ArgusOutput.c
 


More information about the svn-ports-head mailing list