Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2023 14:45:45 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: 52151a275dbf - main - games/dxx-rebirth: Fix build with llvm16
Message-ID:  <202307211445.36LEjjT0025582@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=52151a275dbf56060431cc0f469e13c6f2d3b782

commit 52151a275dbf56060431cc0f469e13c6f2d3b782
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-21 14:45:01 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-21 14:45:30 +0000

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

diff --git a/games/dxx-rebirth/Makefile b/games/dxx-rebirth/Makefile
index dfc6bb839161..41689ce3133b 100644
--- a/games/dxx-rebirth/Makefile
+++ b/games/dxx-rebirth/Makefile
@@ -45,6 +45,10 @@ MAKE_ARGS+=	lto=1
 CPPFLAGS+=	-Wno-error=unused-but-set-parameter -Wno-error=unused-but-set-variable
 .endif
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CPPFLAGS+=	-Wno-error=unused-result
+.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?202307211445.36LEjjT0025582>