diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-19 20:00:57 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-19 20:45:27 +0000 |
commit | 840d29b46e6a83fdd691a59946dd4a53a24402dc (patch) | |
tree | e66a5b29bc069181b73caed6edbfbf5d141461d9 | |
parent | 6ed3dec8833b3551a5e1c229838fc856ec5f85cc (diff) |
games/gshisen: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | games/gshisen/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/games/gshisen/Makefile b/games/gshisen/Makefile index bcb434b60632..61c0249d527f 100644 --- a/games/gshisen/Makefile +++ b/games/gshisen/Makefile @@ -14,6 +14,12 @@ LICENSE= GPLv2+ USES= gnustep USE_GNUSTEP= back build +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/GShisen.app/GShisen |