git: 9ac37e9a397d - main - games/xbat: Fix build with GCC 14
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Nov 2024 10:55:47 UTC
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>