Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2023 18:09:57 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: 3a8cd0d0c825 - main - java/openjfx14: Fix build with llvm16
Message-ID:  <202306251809.35PI9vRS092029@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=3a8cd0d0c825b5d685468281e699b421b51e66e9

commit 3a8cd0d0c825b5d685468281e699b421b51e66e9
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 23:45:45 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-25 18:09:46 +0000

    java/openjfx14: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 java/openjfx14/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/java/openjfx14/Makefile b/java/openjfx14/Makefile
index bca33a959caa..24e83cc0d9c9 100644
--- a/java/openjfx14/Makefile
+++ b/java/openjfx14/Makefile
@@ -89,6 +89,12 @@ _GRADLE_RUN=	${SETENV} ${_GRADLE_ENV} gradle62 --no-daemon
 
 _INSTALLDIR=	${PREFIX}/${PKGBASE}
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-extract:
 	${MKDIR} ${WRKDIR}/jars
 .for f in core grouping queries queryparser sandbox



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