git: f00626cfc7e8 - main - games/shaaft: Fix build with GCC 14
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 15 Nov 2024 10:36:36 UTC
The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/ports/commit/?id=f00626cfc7e88e3a1fefdbe90b0e1085ac958ed0 commit f00626cfc7e88e3a1fefdbe90b0e1085ac958ed0 Author: Lorenzo Salvadore <salvadore@FreeBSD.org> AuthorDate: 2024-11-15 10:11:17 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2024-11-15 10:36:21 +0000 games/shaaft: Fix build with GCC 14 GCC 14 turns some warnings into errors. Add -fpermissive flag to switch them back to warnings. PR: 281233 --- games/shaaft/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/games/shaaft/Makefile b/games/shaaft/Makefile index 7abaf78c92fe..255b6f6aefb2 100644 --- a/games/shaaft/Makefile +++ b/games/shaaft/Makefile @@ -21,6 +21,7 @@ GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-optimize +CFLAGS+= -fpermissive CPPFLAGS+= $$(libpng-config --I_opts) LDFLAGS+= $$(libpng-config --L_opts)