Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2023 15:41:58 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fb2d3dd4f875 - main - games/falconseye: Fix build with llvm16
Message-ID:  <202307211541.36LFfwx5021740@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307211541.36LFfwx5021740>