summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/go
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2018-02-16 23:36:23 -0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-24 10:31:45 +0000
commitd96f1d2379a170f541b2ce637cb058015e55506b (patch)
treec019aa8ed72680001f8fee4bd320d3cfe04e0fc7 /meta/recipes-devtools/go
parentc4172f3f7645d43cd63d782772798f3e1138bd9e (diff)
downloadpoky-d96f1d2379a170f541b2ce637cb058015e55506b.tar.gz
go-dep: Upgrade 0.3.2 -> 0.4.1
The release was announced in Jan 24th 2018 and provides a number of features and bug fixes. The 0.4.1 restores the `dep prune` command support, which was dropped on 0.4.0, so existing scripts will continue to work. That said, it is advisable to change the scripts to use the new features of `dep ensure` as `dep prune` will be removed in future. (From OE-Core rev: d8467f2ce7e3ca2277108e388690b79789790839) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/go')
-rw-r--r--meta/recipes-devtools/go/go-dep/0001-use-a-smaller-constant-that-hopefully-works-the-same.patch33
-rw-r--r--meta/recipes-devtools/go/go-dep_0.4.1.bb (renamed from meta/recipes-devtools/go/go-dep_0.3.2.bb)5
2 files changed, 2 insertions, 36 deletions
diff --git a/meta/recipes-devtools/go/go-dep/0001-use-a-smaller-constant-that-hopefully-works-the-same.patch b/meta/recipes-devtools/go/go-dep/0001-use-a-smaller-constant-that-hopefully-works-the-same.patch
deleted file mode 100644
index 2a7bc43cdb..0000000000
--- a/meta/recipes-devtools/go/go-dep/0001-use-a-smaller-constant-that-hopefully-works-the-same.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 73e8dd479420bb90a46cf9d99ca62289fab3677e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 23 Sep 2017 08:43:58 -0700
4Subject: [PATCH] use a smaller constant that hopefully works the same.
5
6This test uses a constant that is too big for 32bit systems.
7
8Backported from
9https://github.com/boltdb/bolt/issues/645
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13Upstream-Status: Submitted
14
15 vendor/github.com/boltdb/bolt/db_test.go | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/vendor/github.com/boltdb/bolt/db_test.go b/vendor/github.com/boltdb/bolt/db_test.go
19index 3034d4f4..035f5a5f 100644
20--- a/vendor/github.com/boltdb/bolt/db_test.go
21+++ b/vendor/github.com/boltdb/bolt/db_test.go
22@@ -370,7 +370,7 @@ func TestDB_Open_InitialMmapSize(t *testing.T) {
23 path := tempfile()
24 defer os.Remove(path)
25
26- initMmapSize := 1 << 31 // 2GB
27+ initMmapSize := 1 << 29 // 512MB
28 testWriteSize := 1 << 27 // 134MB
29
30 db, err := bolt.Open(path, 0666, &bolt.Options{InitialMmapSize: initMmapSize})
31--
322.14.1
33
diff --git a/meta/recipes-devtools/go/go-dep_0.3.2.bb b/meta/recipes-devtools/go/go-dep_0.4.1.bb
index cdf6da1593..d82e637205 100644
--- a/meta/recipes-devtools/go/go-dep_0.3.2.bb
+++ b/meta/recipes-devtools/go/go-dep_0.4.1.bb
@@ -5,12 +5,11 @@ LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=1bad315647751fab0007812f
5 5
6GO_IMPORT = "github.com/golang/dep" 6GO_IMPORT = "github.com/golang/dep"
7SRC_URI = "git://${GO_IMPORT} \ 7SRC_URI = "git://${GO_IMPORT} \
8 file://0001-use-a-smaller-constant-that-hopefully-works-the-same.patch;patchdir=src/github.com/golang/dep \
9 file://0001-Add-support-for-mips-mips64.patch;patchdir=src/github.com/golang/dep \ 8 file://0001-Add-support-for-mips-mips64.patch;patchdir=src/github.com/golang/dep \
10 " 9 "
11 10
12# Points to 0.3.2 tag 11# Points to 0.4.1 tag
13SRCREV = "8ddfc8afb2d520d41997ebddd921b52152706c01" 12SRCREV = "37d9ea0ac16f0e0a05afc3b60e1ac8c364b6c329"
14 13
15inherit go 14inherit go
16 15