git: fb2d3dd4f875 - main - games/falconseye: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 21 Jul 2023 15:41:58 UTC
The branch main has been updated by bofh:

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

commit fb2d3dd4f87588de5dd1c4db133fd44a2f1bdb6d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-21 15:15:52 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-21 15:41:47 +0000

    games/falconseye: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 games/falconseye/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/games/falconseye/Makefile b/games/falconseye/Makefile
index f23a463f85ce..f00121a090e3 100644
--- a/games/falconseye/Makefile
+++ b/games/falconseye/Makefile
@@ -36,6 +36,10 @@ NETHACKCONFIG=	${FILESDIR}/x-config
 CFLAGS+=	-Wno-error=int-conversion
 .endif
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -i '' -e "s|<malloc.h>|<stdlib.h>|" \
 	${WRKSRC}/include/jtp_gen.h ${WRKSRC}/win/jtp/jtp_dirx.c \