summaryrefslogtreecommitdiff
path: root/dev-lang/scala/files/scala-2.12.1-runner-script.patch
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-11-01 11:49:14 +0100
committerPacho Ramos <pacho@gentoo.org>2018-11-01 11:49:14 +0100
commit5f2be6ee0e607f7731e2cffdda8d39268ecd1c8f (patch)
tree5c46fdb0d25a3d6458fe1e6c466a34d44dd52590 /dev-lang/scala/files/scala-2.12.1-runner-script.patch
parent81b114f3f031237bd988d8842eea1fd9d762e144 (diff)
downloadgentoo-5f2be6ee0e607f7731e2cffdda8d39268ecd1c8f.tar.gz
gentoo-5f2be6ee0e607f7731e2cffdda8d39268ecd1c8f.tar.bz2
gentoo-5f2be6ee0e607f7731e2cffdda8d39268ecd1c8f.zip
dev-lang/scala: Drop vulnerable versions
Bug: https://bugs.gentoo.org/637940 Signed-off-by: Pacho Ramos <pacho@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-lang/scala/files/scala-2.12.1-runner-script.patch')
-rw-r--r--dev-lang/scala/files/scala-2.12.1-runner-script.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/dev-lang/scala/files/scala-2.12.1-runner-script.patch b/dev-lang/scala/files/scala-2.12.1-runner-script.patch
deleted file mode 100644
index d622e651ef8f..000000000000
--- a/dev-lang/scala/files/scala-2.12.1-runner-script.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/src/compiler/scala/tools/ant/templates/tool-unix.tmpl
-+++ b/src/compiler/scala/tools/ant/templates/tool-unix.tmpl
-@@ -197,14 +197,11 @@
- # to java to suppress "." from materializing.
- if [[ "$usebootcp" == "true" ]]; then
- classpath_args=("-Xbootclasspath/a:$TOOL_CLASSPATH" -classpath "\"\"")
-- # Note that the version numbers go 1.7, 1.8, 9, 10, ...
-- java_release="$(cat $JAVA_HOME/release | grep JAVA_VERSION)"
-- if [[ ! "$java_release" =~ JAVA_VERSION=\"1\. ]]; then
-- # Java 9 removed sun.boot.class.path, and the supposed replacement to at least see
-- # the appended boot classpath (jdk.boot.class.path.append) is not visible.
-- # So we have to pass a custom system property that PathResolver will find.
-- classpath_args+=("-Dscala.boot.class.path=$TOOL_CLASSPATH")
-- fi
-+ # Java 9 removed sun.boot.class.path, and the supposed replacement to at least see
-+ # the appended boot classpath (jdk.boot.class.path.append) is not visible.
-+ # So we have to pass a custom system property that PathResolver will find.
-+ # We do this for all JVM versions, rather than getting into the business of JVM version detection.
-+ classpath_args+=("-Dscala.boot.class.path=$TOOL_CLASSPATH")
- else
- classpath_args=(-classpath "$TOOL_CLASSPATH")
- fi