Date: Sat, 3 Jun 2023 18:07:00 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: 949b92ecdd2b - main - games/dxx-rebirth: Fix build with llvm15 Message-ID: <202306031807.353I70Nq018873@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=949b92ecdd2b0dceaa140ec75c5742b2e2d96ab2 commit 949b92ecdd2b0dceaa140ec75c5742b2e2d96ab2 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-03 17:10:56 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-03 18:03:23 +0000 games/dxx-rebirth: Fix build with llvm15 Approved by: portmgr (blanket) --- games/dxx-rebirth/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/games/dxx-rebirth/Makefile b/games/dxx-rebirth/Makefile index 2998713ea9c2..dfc6bb839161 100644 --- a/games/dxx-rebirth/Makefile +++ b/games/dxx-rebirth/Makefile @@ -41,6 +41,10 @@ PLIST_FILES= bin/d1x-rebirth \ MAKE_ARGS+= lto=1 .endif +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CPPFLAGS+= -Wno-error=unused-but-set-parameter -Wno-error=unused-but-set-variable +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/d1x-rebirth \ ${STAGEDIR}${PREFIX}/bin/d2x-rebirth
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306031807.353I70Nq018873>