summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2023-02-14 17:15:42 +0100
committerMikael Urankar <mikael@FreeBSD.org>2023-02-14 17:17:18 +0100
commit17ec21b2abb2b382b1d745db2ec74284e5566bc9 (patch)
treedeb95a28d218c8889b259df6a6a75a02d261440e /java
parentKDE: Update KDE Plasma Desktop to 5.27.0 (diff)
java/openjfx14: unbreak build with LLVM15
Pass -Wno-int-conversion to CFLAGS fixes error with strict conversion rules introduced in LLVM15 /wrkdirs/usr/ports/java/openjfx14/work/jfx-14.0.2.1-1/modules/javafx.graphics/src/main/native-font/pango.c:245:73: error: incompatible integer to pointer conversion passing 'jlong' (aka 'long long') to parameter of type 'void *' [-Wint-conversion] rc = (jboolean)((jboolean (*)(void *, const char *))fp)(arg0, text); ^~~~
Diffstat (limited to 'java')
-rw-r--r--java/openjfx14/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/openjfx14/Makefile b/java/openjfx14/Makefile
index b5a9ff49a289..bc9d5725c558 100644
--- a/java/openjfx14/Makefile
+++ b/java/openjfx14/Makefile
@@ -46,7 +46,8 @@ JAVA_VERSION= 11
USE_LDCONFIG= yes
USE_XORG= x11 xtst xxf86vm
-CFLAGS+= -Wno-unused-command-line-argument
+CFLAGS+= -Wno-unused-command-line-argument \
+ -Wno-int-conversion
PLIST_SUB= INSTALLDIR=${_INSTALLDIR}