diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-26 09:03:32 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-26 09:40:12 +0000 |
commit | 3372e98c040e09e375e86aea2e31ef885499b602 (patch) | |
tree | 1505f0a851570f3c92005a668bb8d8f600b743a6 | |
parent | 423c3ab55d0759d882ffe6afcae803c67e766328 (diff) | |
download | ports-3372e98c040e09e375e86aea2e31ef885499b602.tar.gz ports-3372e98c040e09e375e86aea2e31ef885499b602.zip |
games/nethack33: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | games/nethack33/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/games/nethack33/Makefile b/games/nethack33/Makefile index 6652d46e802b..e84dac0d776d 100644 --- a/games/nethack33/Makefile +++ b/games/nethack33/Makefile @@ -47,6 +47,10 @@ PLIST_SUB+= HACKLINK="" PLIST_SUB+= HACKLINK="@comment " .endif +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + pre-everything:: .if defined(WITH_TTY_GRAPHICS) || defined(WITHOUT_X11) @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" |