From 4ab9f21ba94cd09e05fa9579cc70ce28e6576cee Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Wed, 16 Aug 2023 22:22:04 +0200 Subject: [PATCH] lang/eisl: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- lang/eisl/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lang/eisl/Makefile b/lang/eisl/Makefile index e25bc872a509a..4ca7c0bbc63dc 100644 --- a/lang/eisl/Makefile +++ b/lang/eisl/Makefile @@ -39,4 +39,8 @@ EXTRA_PATCHES= ${FILESDIR}/extra-patch-makefile CFLAGS+= -Wno-error=int-conversion .endif +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400092 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + .include