diff options
| author | Patrick Lauer <patrick@gentoo.org> | 2017-10-03 13:39:42 +0000 |
|---|---|---|
| committer | Patrick Lauer <patrick@gentoo.org> | 2017-10-03 14:23:55 +0000 |
| commit | 98fa08fd522766267ebf716cdba32c04ba29c5d9 (patch) | |
| tree | 2b3f9a89bbbae413359c4f3824863da74bc08216 /dev-lang/scala/files/scala-2.11.11-no-git.patch | |
| parent | 8a65f22fdd2703516e974257fbe44ccbe49c68d8 (diff) | |
| download | gentoo-98fa08fd522766267ebf716cdba32c04ba29c5d9.tar.gz gentoo-98fa08fd522766267ebf716cdba32c04ba29c5d9.tar.bz2 gentoo-98fa08fd522766267ebf716cdba32c04ba29c5d9.zip | |
dev-lang/scala: Bump
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'dev-lang/scala/files/scala-2.11.11-no-git.patch')
| -rw-r--r-- | dev-lang/scala/files/scala-2.11.11-no-git.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-lang/scala/files/scala-2.11.11-no-git.patch b/dev-lang/scala/files/scala-2.11.11-no-git.patch new file mode 100644 index 000000000000..b1012626c525 --- /dev/null +++ b/dev-lang/scala/files/scala-2.11.11-no-git.patch @@ -0,0 +1,24 @@ +--- scala-2.11.8-orig/tools/get-scala-commit-date 2016-03-04 21:57:12.000000000 +1100 ++++ scala-2.11.8/tools/get-scala-commit-date 2016-09-16 10:29:09.215240534 +1000 +@@ -10,8 +10,8 @@ + + [[ $# -eq 0 ]] || cd "$1" + +-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) ++lastcommitdate="2016-03-04" ++lastcommithours="00:00:00" + + # 20120324 + echo "${lastcommitdate//-/}-${lastcommithours//:/}" +--- scala-2.11.8-orig/tools/get-scala-commit-sha 2016-03-04 21:57:12.000000000 +1100 ++++ scala-2.11.8/tools/get-scala-commit-sha 2016-09-16 10:29:45.566119137 +1000 +@@ -12,7 +12,7 @@ + + # 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="1706a37eb84ec252aea77bccebad3e48448534ad" + hash=${hash#g} + hash=${hash:0:10} + echo "$hash" |
