git: 23b4bfce6241 - main - irc/ircd-ratbox: Fix build with GCC 14

From: Lorenzo Salvadore <salvadore_at_FreeBSD.org>
Date: Sat, 08 Feb 2025 13:07:41 UTC
The branch main has been updated by salvadore:

URL: https://cgit.FreeBSD.org/ports/commit/?id=23b4bfce62410d9242ca8dfa2bed2260ef9b1710

commit 23b4bfce62410d9242ca8dfa2bed2260ef9b1710
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2025-02-06 18:40:47 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2025-02-08 13:05:40 +0000

    irc/ircd-ratbox: Fix build with GCC 14
    
    GCC 14 turns some warnings into errors. Switch them back to warnings.
    
    This should be regarded as a temporary workaround so that GCC_DEFAULT
    can be upgraded to GCC 14. It would be preferable to actually fix the
    warnings.
    
    PR:             284485
---
 irc/ircd-ratbox/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/irc/ircd-ratbox/Makefile b/irc/ircd-ratbox/Makefile
index 1fa77580afe2..2b75c7b3ba77 100644
--- a/irc/ircd-ratbox/Makefile
+++ b/irc/ircd-ratbox/Makefile
@@ -30,6 +30,8 @@ SUB_FILES=	pkg-message
 PLIST_SUB=	LOGDIR=${LOGDIR} RUNDIR=${RUNDIR} DBDIR=${DBDIR}
 SUB_LIST=	LOGDIR=${LOGDIR} RUNDIR=${RUNDIR} DBDIR=${DBDIR}
 
+CFLAGS+=	-fpermissive
+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-confdir=${PREFIX}/etc/${PORTNAME}		\
 		--with-logdir=/var/log/${PORTNAME}			\