1 |
gienah 14/11/28 00:09:10 |
2 |
|
3 |
Added: scala-2.11.4-no-git.patch |
4 |
Log: |
5 |
Thanks to Juergen Rose for reporting, fix Bug 530836 - dev-lang/scala-2.11.4 - Cannot find $EPATCH_SOURCE - scala-2.11.4-no-git.patch |
6 |
|
7 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 618E971F) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 dev-lang/scala/files/scala-2.11.4-no-git.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/scala/files/scala-2.11.4-no-git.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/scala/files/scala-2.11.4-no-git.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: scala-2.11.4-no-git.patch |
16 |
=================================================================== |
17 |
--- scala-2.11.4-orig/tools/get-scala-commit-date 2014-10-23 20:06:36.000000000 +1100 |
18 |
+++ scala-2.11.4/tools/get-scala-commit-date 2014-11-26 21:54:26.064081533 +1100 |
19 |
@@ -10,8 +10,8 @@ |
20 |
|
21 |
[[ $# -eq 0 ]] || cd "$1" |
22 |
|
23 |
-lastcommitdate=$(git log --format="%ci" HEAD | head -n 1 | cut -d ' ' -f 1) |
24 |
-lastcommithours=$(git log --format="%ci" HEAD | head -n 1 | cut -d ' ' -f 2) |
25 |
+lastcommitdate="2014-10-23" |
26 |
+lastcommithours="00:00:00" |
27 |
|
28 |
# 20120324 |
29 |
echo "${lastcommitdate//-/}-${lastcommithours//:/}" |
30 |
--- scala-2.11.4-orig/tools/get-scala-commit-sha 2014-10-23 20:06:36.000000000 +1100 |
31 |
+++ scala-2.11.4/tools/get-scala-commit-sha 2014-11-26 21:55:12.248629566 +1100 |
32 |
@@ -12,7 +12,7 @@ |
33 |
|
34 |
# printf %016s is not portable for 0-padding, has to be a digit. |
35 |
# so we're stuck disassembling it. |
36 |
-hash=$(git log -1 --format="%H" HEAD) |
37 |
+hash="d783face36a464498c4832acb059a61192dfb105" |
38 |
hash=${hash#g} |
39 |
hash=${hash:0:10} |
40 |
echo "$hash" |