Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2024 15:08:29 GMT
From:      Lorenzo Salvadore <salvadore@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 16c76a4ce238 - main - net/l2tpd: Fix build with GCC 14
Message-ID:  <202409051508.485F8TdT002226@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by salvadore:

URL: https://cgit.FreeBSD.org/ports/commit/?id=16c76a4ce238f99fe8839bb5e82f41bbbbaf520b

commit 16c76a4ce238f99fe8839bb5e82f41bbbbaf520b
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2024-09-05 14:39:05 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2024-09-05 15:08:27 +0000

    net/l2tpd: Fix build with GCC 14
    
    GCC 14 has transformed some warnings into errors: revert them to simple
    warnings.
    
    PR:             281243
    Reported by:    exp-run (antoine)
---
 net/l2tpd/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net/l2tpd/Makefile b/net/l2tpd/Makefile
index 8a8160b2454b..302b44c30586 100644
--- a/net/l2tpd/Makefile
+++ b/net/l2tpd/Makefile
@@ -11,7 +11,8 @@ BROKEN_armv6=	fails to link: undefined reference to check_control
 BROKEN_armv7=	fails to link: undefined reference to check_control
 
 USES=		compiler:nestedfct cpe
-CFLAGS+=	-fcommon
+CFLAGS+=	-fcommon \
+		-fpermissive
 
 PORTDOCS=	README
 ETCDIR=		${PREFIX}/etc/l2tp



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