mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
development/google-go-lang: Updated for version 1.2.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
8599a47172
commit
8c3215a4d5
3 changed files with 35 additions and 4 deletions
|
@ -27,7 +27,7 @@
|
|||
# SOFTWARE.
|
||||
|
||||
PRGNAM=google-go-lang
|
||||
VERSION=${VERSION:-1.2}
|
||||
VERSION=${VERSION:-1.2.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -75,6 +75,8 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
cat $CWD/runtime-test-capture.patch | patch -p1 || exit 1
|
||||
|
||||
export GOSRC="$(pwd)"
|
||||
export GOROOT="$(pwd)"
|
||||
export GOROOT_FINAL="/usr/lib${LIBDIRSUFFIX}/go"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="google-go-lang"
|
||||
VERSION="1.2"
|
||||
VERSION="1.2.2"
|
||||
HOMEPAGE="http://golang.org"
|
||||
DOWNLOAD="https://go.googlecode.com/files/go1.2.src.tar.gz"
|
||||
MD5SUM="c2ace56f6b6413a5c6318b9527a8b763"
|
||||
DOWNLOAD="https://storage.googleapis.com/golang/go1.2.2.src.tar.gz"
|
||||
MD5SUM="7917152cb24efb9a13c7881ed280af9a"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
29
development/google-go-lang/runtime-test-capture.patch
Normal file
29
development/google-go-lang/runtime-test-capture.patch
Normal file
|
@ -0,0 +1,29 @@
|
|||
diff -r 9c4fdd8369ca src/pkg/runtime/crash_cgo_test.go
|
||||
--- a/src/pkg/runtime/crash_cgo_test.go Mon May 05 10:43:37 2014 -0700
|
||||
+++ b/src/pkg/runtime/crash_cgo_test.go Tue May 06 17:21:45 2014 -0400
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
import (
|
||||
"runtime"
|
||||
+ "strings"
|
||||
"testing"
|
||||
)
|
||||
|
||||
@@ -21,7 +22,7 @@
|
||||
}
|
||||
got := executeTest(t, cgoSignalDeadlockSource, nil)
|
||||
want := "OK\n"
|
||||
- if got != want {
|
||||
+ if !strings.Contains(got, want) {
|
||||
t.Fatalf("expected %q, but got %q", want, got)
|
||||
}
|
||||
}
|
||||
@@ -29,7 +30,7 @@
|
||||
func TestCgoTraceback(t *testing.T) {
|
||||
got := executeTest(t, cgoTracebackSource, nil)
|
||||
want := "OK\n"
|
||||
- if got != want {
|
||||
+ if !strings.Contains(got, want) {
|
||||
t.Fatalf("expected %q, but got %q", want, got)
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue