Date: Tue, 25 Jul 2023 09:42:32 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: adc957c9785a - main - games/nethack34: Fix build with llvm16 Message-ID: <202307250942.36P9gWSN069818@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=adc957c9785a00106960778484116ef3e39cea48 commit adc957c9785a00106960778484116ef3e39cea48 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-25 09:00:15 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-25 09:42:18 +0000 games/nethack34: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- games/nethack34/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/games/nethack34/Makefile b/games/nethack34/Makefile index 0dc34198b160..a2cf4a77951a 100644 --- a/games/nethack34/Makefile +++ b/games/nethack34/Makefile @@ -17,6 +17,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept WRKSRC= ${WRKDIR}/${TRUEPORTNAME}-${PORTVERSION} USES= alias gmake ncurses tar:tgz + MAKE_ENV= GRAPHICS="${GRAPHICS}" PLIST_SUB= HACKNAME="${HACKNAME}" \ HACKEXT="${HACKEXT}" @@ -80,6 +81,10 @@ PLIST_SUB+= HACKLINK="" PLIST_SUB+= HACKLINK="@comment " .endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + pre-everything:: @if [ "${PKGBASE}" != "nethack" ]; then \ ${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" ; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307250942.36P9gWSN069818>