git: 754c811b6bf8 - main - security/ipguard: unbreak on FreeBSD 13+

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Tue, 11 Apr 2023 23:04:22 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=754c811b6bf814562fa2176d64b8973ab603c027

commit 754c811b6bf814562fa2176d64b8973ab603c027
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-04-11 00:27:04 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-04-11 23:02:43 +0000

    security/ipguard: unbreak on FreeBSD 13+
    
    Build with -fcommon to avoid a duplicate symbol error.
---
 security/ipguard/Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/security/ipguard/Makefile b/security/ipguard/Makefile
index 2fa20e19eaf7..3dbf281fdbf5 100644
--- a/security/ipguard/Makefile
+++ b/security/ipguard/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ipguard
 PORTVERSION=	1.04
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	security net
 MASTER_SITES=	http://ipguard.deep.perm.ru/files/ http://deep.perm.ru/files/ipguard/
 
@@ -10,12 +10,10 @@ WWW=		http://ipguard.deep.perm.ru/
 
 LICENSE=	BSD2CLAUSE
 
-BROKEN_FreeBSD_13=	ld: error: duplicate symbol: addr_nosubst
-BROKEN_FreeBSD_14=	ld: error: duplicate symbol: addr_nosubst
-
 LIB_DEPENDS=	libnet.so:net/libnet
 
 USE_RC_SUBR=	${PORTNAME}
+CFLAGS+=	-fcommon
 PORTDOCS=	COPYRIGHT NEWS README README.tcpdump README.log ethers.sample rfc826.txt
 PLIST_FILES=	sbin/ipguard \
 		man/man8/${PORTNAME}.8.gz