Gentoo Archives: gentoo-commits

From: "Mark Wright (gienah)" <gienah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/scala/files: scala-2.10.4-no-git.patch
Date: Sun, 06 Jul 2014 10:39:39
Message-Id: 20140706103935.92DA42004F@flycatcher.gentoo.org
1 gienah 14/07/06 10:39:35
2
3 Added: scala-2.10.4-no-git.patch
4 Log:
5 Bump scala to 2.10.4 as requested in Bug 505582 - dev-lang/scala-2.10.4 version bump, thanks to Joel for reporting.
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
8
9 Revision Changes Path
10 1.1 dev-lang/scala/files/scala-2.10.4-no-git.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/scala/files/scala-2.10.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.10.4-no-git.patch?rev=1.1&content-type=text/plain
14
15 Index: scala-2.10.4-no-git.patch
16 ===================================================================
17 --- scala-2.10.4-orig/tools/get-scala-commit-date 2014-02-10 04:00:20.000000000 +1100
18 +++ scala-2.10.4/tools/get-scala-commit-date 2014-07-05 18:19:38.054864707 +1000
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-02-10"
26 +lastcommithours="00:00:00"
27
28 # 20120324
29 echo "${lastcommitdate//-/}-${lastcommithours//:/}"
30 --- scala-2.10.4-orig/tools/get-scala-commit-sha 2014-02-10 04:00:20.000000000 +1100
31 +++ scala-2.10.4/tools/get-scala-commit-sha 2014-07-05 18:20:27.799470430 +1000
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="b66a39653b9bccab72036ba58fec5fd7d596d313"
38 hash=${hash#g}
39 hash=${hash:0:10}
40 echo "$hash"