Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2024 10:36:36 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: f00626cfc7e8 - main - games/shaaft: Fix build with GCC 14
Message-ID:  <202411151036.4AFAaaSP098373@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=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)
 



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