Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 2025 13:07:41 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: 23b4bfce6241 - main - irc/ircd-ratbox: Fix build with GCC 14
Message-ID:  <202502081307.518D7fL9026394@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=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}			\



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