Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2023 20:45:38 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 840d29b46e6a - main - games/gshisen: Fix build with llvm16
Message-ID:  <202307192045.36JKjcjL049040@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=840d29b46e6a83fdd691a59946dd4a53a24402dc

commit 840d29b46e6a83fdd691a59946dd4a53a24402dc
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-19 20:00:57 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-19 20:45:27 +0000

    games/gshisen: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 games/gshisen/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/games/gshisen/Makefile b/games/gshisen/Makefile
index bcb434b60632..61c0249d527f 100644
--- a/games/gshisen/Makefile
+++ b/games/gshisen/Makefile
@@ -14,6 +14,12 @@ LICENSE=	GPLv2+
 USES=		gnustep
 USE_GNUSTEP=	back build
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/GShisen.app/GShisen
 



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