summaryrefslogtreecommitdiff
path: root/dev-lang/scala/files/scala-2.12.1-no-git.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-no-git.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-no-git.patch')
-rw-r--r--dev-lang/scala/files/scala-2.12.1-no-git.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/dev-lang/scala/files/scala-2.12.1-no-git.patch b/dev-lang/scala/files/scala-2.12.1-no-git.patch
deleted file mode 100644
index 94cf149da7b6..000000000000
--- a/dev-lang/scala/files/scala-2.12.1-no-git.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- a/tools/get-scala-commit-date
-+++ b/tools/get-scala-commit-date
-@@ -10,13 +10,8 @@
-
- [[ $# -eq 0 ]] || cd "$1"
-
--if git rev-parse --is-inside-work-tree > /dev/null 2>&1; then
-- lastcommitdate=$(git log --format="%ci" HEAD | head -n 1 | cut -d ' ' -f 1)
-- lastcommithours=$(git log --format="%ci" HEAD | head -n 1 | cut -d ' ' -f 2)
--else
-- lastcommitdate=$(date +%Y-%m-%d)
-- lastcommithours=$(date +%H:%M:%S)
--fi
-+lastcommitdate="2016-12-05"
-+lastcommithours="00:00:00"
-
- # 20120324
- echo "${lastcommitdate//-/}-${lastcommithours//:/}"
---- a/tools/get-scala-commit-sha
-+++ b/tools/get-scala-commit-sha
-@@ -10,13 +10,7 @@
-
- [[ $# -eq 0 ]] || cd "$1"
-
--if git rev-parse --is-inside-work-tree > /dev/null 2>&1; then
-- # printf %016s is not portable for 0-padding, has to be a digit.
-- # so we're stuck disassembling it.
-- hash=$(git log -1 --format="%H" HEAD)
-- hash=${hash#g}
-- hash=${hash:0:10}
--else
-- hash="unknown"
--fi
-+hash="2787b47396013a44072fa7321482103b66fbccd3"
-+hash=${hash#g}
-+hash=${hash:0:10}
- echo "$hash"