Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Dec 2023 19:12:19 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4999e18d9032 - main - games/exult{,-devel}: Add missing OSVERSIONs to e61a868
Message-ID:  <202312271912.3BRJCJTx051213@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4999e18d903259c9c297e2029b70a09eb95380fa

commit 4999e18d903259c9c297e2029b70a09eb95380fa
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-12-27 18:56:58 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-12-27 19:12:06 +0000

    games/exult{,-devel}: Add missing OSVERSIONs to e61a868
    
    Add missing OSVERSIONs from >=1302507 to <1400000 that uses clang 16.
    
    Reported by:    bofh
---
 games/exult/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games/exult/Makefile b/games/exult/Makefile
index c864e1986cc5..de14ff2865ce 100644
--- a/games/exult/Makefile
+++ b/games/exult/Makefile
@@ -81,9 +81,9 @@ post-install-DOCS-on:
 
 .include <bsd.port.options.mk>
 
-# Silence cast warnings from GTK callbacks:
+# Silence cast warnings from GTK callbacks in clang >=16
 # https://github.com/exult/exult/issues/416
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
 CFLAGS+=	-Wno-cast-function-type-strict
 .endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202312271912.3BRJCJTx051213>