From d1587b80231ba4fb85853954df8aef26ed13db82 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Thu, 17 Aug 2023 22:18:44 +0200 Subject: [PATCH] math/alberta: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- math/alberta/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/math/alberta/Makefile b/math/alberta/Makefile index 24921dc7bc595..705e9308d621e 100644 --- a/math/alberta/Makefile +++ b/math/alberta/Makefile @@ -36,4 +36,10 @@ INSTALL_TARGET= install-strip BINARY_ALIAS= make=${GMAKE} sed=gsed +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + .include