git: 3a31f9892b36 - main - www/kannel: Fix build with GCC 14

From: Lorenzo Salvadore <salvadore_at_FreeBSD.org>
Date: Thu, 05 Sep 2024 15:36:07 UTC
The branch main has been updated by salvadore:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3a31f9892b36452c48426c96b1ab0a1d6e22e3a2

commit 3a31f9892b36452c48426c96b1ab0a1d6e22e3a2
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2024-09-05 15:16:44 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2024-09-05 15:35:55 +0000

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

diff --git a/www/kannel/Makefile b/www/kannel/Makefile
index 38e6919eefd1..6e746664afd9 100644
--- a/www/kannel/Makefile
+++ b/www/kannel/Makefile
@@ -27,7 +27,8 @@ GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--enable-pcre=yes --enable-docs=no --with-malloc=native \
 		--enable-start-stop-daemon=no
 
-CFLAGS+=	-fcommon
+CFLAGS+=	-fcommon \
+		-fpermissive
 
 PORTSCOUT=	skipv:1.5.0