diff options
author | Nuno Teixeira <eduardo@FreeBSD.org> | 2023-12-27 18:56:58 +0000 |
---|---|---|
committer | Nuno Teixeira <eduardo@FreeBSD.org> | 2023-12-27 19:12:06 +0000 |
commit | 4999e18d903259c9c297e2029b70a09eb95380fa (patch) | |
tree | d3160d5faeb777defc27511a2c6e70c02fcaf675 | |
parent | 5565ed170e57d0e98fcc738fc7bb98aba89eecd0 (diff) |
games/exult{,-devel}: Add missing OSVERSIONs to e61a868
Add missing OSVERSIONs from >=1302507 to <1400000 that uses clang 16.
Reported by: bofh
-rw-r--r-- | games/exult/Makefile | 4 |
1 files 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 |