summaryrefslogtreecommitdiff
path: root/dev-java/openjfx/files/11/fix-build-on-gradle-5x.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-06-02 21:45:28 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-06-02 21:45:28 +0100
commit2018227e9344edb9da15fc6a4a8298086cc2aa77 (patch)
treec18e1c09e605e94e2a1e93345ad25746cc9e14b9 /dev-java/openjfx/files/11/fix-build-on-gradle-5x.patch
parent6f8038813c460b4f0572d5ef595cdfa94af3a94d (diff)
gentoo resync : 02.06.2019
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 ||