mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
games/exult{,-devel}: Silence cast warnings on clang >=16
Apply upstream recommendation to silence cast warnings observed on clang 16 and 17 until a fix is provided. (impact: testport log size from ~70MB to ~700KB)
This commit is contained in:
parent
7f99f1041c
commit
e61a868efa
@ -79,4 +79,12 @@ post-install-DOCS-on:
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
# Silence cast warnings from GTK callbacks:
|
||||
# https://github.com/exult/exult/issues/416
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
CFLAGS+= -Wno-cast-function-type-strict
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user