Date: Sat, 5 Aug 2023 20:10:16 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: 4aba7651e10d - main - games/trojka: Fix build with llvm16 Message-ID: <202308052010.375KAGJp002408@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=4aba7651e10d6a75c59c51adf8d7c11f223c781a commit 4aba7651e10d6a75c59c51adf8d7c11f223c781a Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-05 19:48:50 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-05 19:48:50 +0000 games/trojka: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- games/trojka/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/games/trojka/Makefile b/games/trojka/Makefile index 19fda83f49ef..13afcdcca59a 100644 --- a/games/trojka/Makefile +++ b/games/trojka/Makefile @@ -15,4 +15,10 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= ncurses +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308052010.375KAGJp002408>