summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2019-06-01 02:31:42 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-06-01 04:34:59 -0700
commit706f8aefe2cd3b48c7474dec3500e1650115aa4c (patch)
treede4c706d220b471b0865921fcb13d8f01e883a69 /dev-java/openjfx/files/11/fix-build-on-gradle-5x.patch
parentsci-mathematics/wxmaxima: bump to 19.05.7 (diff)
downloadgentoo-706f8aefe2cd3b48c7474dec3500e1650115aa4c.tar.gz
gentoo-706f8aefe2cd3b48c7474dec3500e1650115aa4c.tar.bz2
gentoo-706f8aefe2cd3b48c7474dec3500e1650115aa4c.zip
dev-java/openjfx: new package
Quick howto to get openjdk with integrated javafx 1) install openjdk-bin:11 2) install openjfx:11 3) install openjdk:11[javafx], it will pick up jfx libs 4) Optional: remove openjdk-bin:11 no need to unmask gentoo-vm flag Bug: https://bugs.gentoo.org/547918 Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-java/openjfx/files/11/fix-build-on-gradle-5x.patch')
-rw-r--r--dev-java/openjfx/files/11/fix-build-on-gradle-5x.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-java/openjfx/files/11/fix-build-on-gradle-5x.patch b/dev-java/openjfx/files/11/fix-build-on-gradle-5x.patch
new file mode 100644
index 000000000000..51fde6ad39a3
--- /dev/null
+++ b/dev-java/openjfx/files/11/fix-build-on-gradle-5x.patch
@@ -0,0 +1,23 @@
+From 2f74649395f0242d08b95572b7b30246457b1d6b Mon Sep 17 00:00:00 2001
+From: Ty Young <BlueGoliath@users.noreply.github.com>
+Date: Mon, 3 Dec 2018 20:34:07 -0600
+Subject: [PATCH] Remove final from HashSet instance
+
+Removes final from HashSet instance at about line 107 which causes build failure
+---
+ .../main/groovy/com/sun/javafx/gradle/NativeCompileTask.groovy | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/buildSrc/src/main/groovy/com/sun/javafx/gradle/NativeCompileTask.groovy b/buildSrc/src/main/groovy/com/sun/javafx/gradle/NativeCompileTask.groovy
+index 10a85d62d1..13d573fe6e 100644
+--- a/buildSrc/src/main/groovy/com/sun/javafx/gradle/NativeCompileTask.groovy
++++ b/buildSrc/src/main/groovy/com/sun/javafx/gradle/NativeCompileTask.groovy
+@@ -102,7 +102,7 @@ class NativeCompileTask extends DefaultTask {
+ updateFiles();
+ def source = project.files(allFiles);
+ boolean forceCompile = false;
+- final Set<File> files = new HashSet<File>();
++ Set<File> files = new HashSet<File>();
+ source.each { File file ->
+ final Map fileData = dependencies.get(file.toString());
+ final boolean isModified = fileData == null ||