git: 33b764a6d8ab - main - games/tome4: fix build with llvm 16
Date: Tue, 04 Jul 2023 00:23:48 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=33b764a6d8abc4cdb19a3754423b1bfa0fc3b2ce
commit 33b764a6d8abc4cdb19a3754423b1bfa0fc3b2ce
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-07-04 00:23:46 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-07-04 00:23:46 +0000
games/tome4: fix build with llvm 16
---
games/tome4/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/games/tome4/Makefile b/games/tome4/Makefile
index 9e54c60bb153..10de58f58d02 100644
--- a/games/tome4/Makefile
+++ b/games/tome4/Makefile
@@ -32,6 +32,7 @@ DESKTOP_ENTRIES="ToME 4" "" "${PORTNAME}" \
PLIST_SUB= PORTVERSION=${PORTVERSION}
WRKSRC= ${WRKDIR}/t-engine4-src-${DISTVERSION}
MAKE_ARGS+= config=release verbose=yes ARCH="" CC=${CC} CXX=${CXX}
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
LDFLAGS_i386= -Wl,-znotext
.include <bsd.port.pre.mk>