Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2023 21:03:51 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: d1587b80231b - main - math/alberta: Fix build with llvm16
Message-ID:  <202308172103.37HL3pT0097298@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=d1587b80231ba4fb85853954df8aef26ed13db82

commit d1587b80231ba4fb85853954df8aef26ed13db82
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-17 20:18:44 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-17 21:03:34 +0000

    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 24921dc7bc59..705e9308d621 100644
--- a/math/alberta/Makefile
+++ b/math/alberta/Makefile
@@ -36,4 +36,10 @@ INSTALL_TARGET=	install-strip
 
 BINARY_ALIAS=	make=${GMAKE} sed=gsed
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 .include <bsd.port.mk>



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