summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/go/go-dep/0001-Add-support-for-mips-mips64.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-10-14 08:48:52 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-05 22:33:22 +0000
commita3d3d7f511ac836c619236e03c5eea34598e463e (patch)
tree85ed7f92366ea85138ec7abf63bfdddf990121fe /meta/recipes-devtools/go/go-dep/0001-Add-support-for-mips-mips64.patch
parentb93bd1074217dfa1ad24c3f4975ee201bd0d6f5d (diff)
downloadpoky-a3d3d7f511ac836c619236e03c5eea34598e463e.tar.gz
go-dep: Upgrade to 0.3.1
(From OE-Core rev: 0fff29b79f7763223d2fe3ebafd315d030ef6e8f) Signed-off-by: Khem Raj <raj.khem@gmail.com> 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/go-dep/0001-Add-support-for-mips-mips64.patch')
-rw-r--r--meta/recipes-devtools/go/go-dep/0001-Add-support-for-mips-mips64.patch54
1 files changed, 54 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-dep/0001-Add-support-for-mips-mips64.patch b/meta/recipes-devtools/go/go-dep/0001-Add-support-for-mips-mips64.patch
new file mode 100644
index 0000000000..34ec9876f8
--- /dev/null
+++ b/meta/recipes-devtools/go/go-dep/0001-Add-support-for-mips-mips64.patch
@@ -0,0 +1,54 @@
1From f0fb80604385ae3266a472601ef685896b4cc0af Mon Sep 17 00:00:00 2001
2From: Vladimir Stefanovic <vladimir.stefanovic@imgtec.com>
3Date: Fri, 17 Feb 2017 20:44:43 +0100
4Subject: [PATCH] Add support for mips, mips64
5
6---
7Upstream-Status: Submitted
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9
10 vendor/github.com/boltdb/bolt/bolt_mips64x.go | 12 ++++++++++++
11 vendor/github.com/boltdb/bolt/bolt_mipsx.go | 12 ++++++++++++
12 2 files changed, 24 insertions(+)
13 create mode 100644 vendor/github.com/boltdb/bolt/bolt_mips64x.go
14 create mode 100644 vendor/github.com/boltdb/bolt/bolt_mipsx.go
15
16diff --git a/vendor/github.com/boltdb/bolt/bolt_mips64x.go b/vendor/github.com/boltdb/bolt/bolt_mips64x.go
17new file mode 100644
18index 00000000..134b578b
19--- /dev/null
20+++ b/vendor/github.com/boltdb/bolt/bolt_mips64x.go
21@@ -0,0 +1,12 @@
22+// +build mips64 mips64le
23+
24+package bolt
25+
26+// maxMapSize represents the largest mmap size supported by Bolt.
27+const maxMapSize = 0x8000000000 // 512GB
28+
29+// maxAllocSize is the size used when creating array pointers.
30+const maxAllocSize = 0x7FFFFFFF
31+
32+// Are unaligned load/stores broken on this arch?
33+var brokenUnaligned = false
34diff --git a/vendor/github.com/boltdb/bolt/bolt_mipsx.go b/vendor/github.com/boltdb/bolt/bolt_mipsx.go
35new file mode 100644
36index 00000000..d5ecb059
37--- /dev/null
38+++ b/vendor/github.com/boltdb/bolt/bolt_mipsx.go
39@@ -0,0 +1,12 @@
40+// +build mips mipsle
41+
42+package bolt
43+
44+// maxMapSize represents the largest mmap size supported by Bolt.
45+const maxMapSize = 0x40000000 // 1GB
46+
47+// maxAllocSize is the size used when creating array pointers.
48+const maxAllocSize = 0xFFFFFFF
49+
50+// Are unaligned load/stores broken on this arch?
51+var brokenUnaligned = false
52--
532.14.1
54