Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2024 10:55:47 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: 9ac37e9a397d - main - games/xbat: Fix build with GCC 14
Message-ID:  <202411151055.4AFAtlDA036040@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=9ac37e9a397d5f77b9f931a3a92ec2628bbb09ba

commit 9ac37e9a397d5f77b9f931a3a92ec2628bbb09ba
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2024-11-15 10:43:04 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2024-11-15 10:55:47 +0000

    games/xbat: Fix build with GCC 14
    
    GCC 14 turns some warnings into errors. Add -fpermissive flag to switch
    them back to warnings.
    
    PR:             281234
---
 games/xbat/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/games/xbat/Makefile b/games/xbat/Makefile
index 57e6c2842e61..92c26bc44951 100644
--- a/games/xbat/Makefile
+++ b/games/xbat/Makefile
@@ -20,4 +20,6 @@ WRKSRC=		${WRKDIR}/Xev111
 ALL_TARGET=	xbat
 USE_GCC=	yes # segfaults when compiled with clang
 
+CFLAGS+=	-fpermissive
+
 .include <bsd.port.mk>



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