summaryrefslogtreecommitdiff
path: root/dev-lang/scala/files/scala-2.12.2-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.2-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.2-no-git.patch')
-rw-r--r--dev-lang/scala/files/scala-2.12.2-no-git.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/dev-lang/scala/files/scala-2.12.2-no-git.patch b/dev-lang/scala/files/scala-2.12.2-no-git.patch
deleted file mode 100644
index 5c921270bd50..000000000000
--- a/dev-lang/scala/files/scala-2.12.2-no-git.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/project/VersionUtil.scala
-+++ b/project/VersionUtil.scala
-@@ -80,18 +80,8 @@
-
- val (dateObj, sha) = {
- try {
-- // Use JGit to get the commit date and SHA
-- import org.eclipse.jgit.storage.file.FileRepositoryBuilder
-- import org.eclipse.jgit.revwalk.RevWalk
-- val db = new FileRepositoryBuilder().findGitDir.build
-- val head = db.resolve("HEAD")
-- if(head eq null) {
-- log.info("No git HEAD commit found -- Using current date and 'unknown' SHA")
-- (new Date, "unknown")
-- } else {
-- val commit = new RevWalk(db).parseCommit(head)
-- (new Date(commit.getCommitTime.toLong * 1000L), commit.getName.substring(0, 7))
-- }
-+ val commit = "21d12e9f5ec1ffe023f509848911476c1552d06f"
-+ (new Date, commit.substring(0, 7))
- } catch { case ex: Exception =>
- log.error("Could not determine commit date + SHA: "+ex)
- log.trace(ex)