forked from pool/docker
d7c5e8e7f3
- remove netlink_gcc_go.patch after integration of PR https://github.com/golang/go/issues/11707 - new boltdb_bolt_add_brokenUnaligned.patch for ppc64 waiting for https://github.com/boltdb/bolt/pull/635 OBS-URL: https://build.opensuse.org/request/show/447283 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=161
28 lines
971 B
Diff
28 lines
971 B
Diff
From: Michel Normand <normand@linux.vnet.ibm.com>
|
|
Subject: boltdb bolt add brokenUnaligned for ppc64
|
|
Date: Tue, 20 Dec 2016 10:19:01 +0100
|
|
|
|
boltdb bolt add brokenUnaligned for ppc64
|
|
as already done for bolt_ppc64le.go
|
|
|
|
Correction already submitted upstream as
|
|
https://github.com/boltdb/bolt/pull/635
|
|
|
|
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
|
|
---
|
|
vendor/src/github.com/boltdb/bolt/bolt_ppc64.go | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
Index: docker-1.12.3/vendor/src/github.com/boltdb/bolt/bolt_ppc64.go
|
|
===================================================================
|
|
--- docker-1.12.3.orig/vendor/src/github.com/boltdb/bolt/bolt_ppc64.go
|
|
+++ docker-1.12.3/vendor/src/github.com/boltdb/bolt/bolt_ppc64.go
|
|
@@ -7,3 +7,6 @@ const maxMapSize = 0xFFFFFFFFFFFF // 256
|
|
|
|
// maxAllocSize is the size used when creating array pointers.
|
|
const maxAllocSize = 0x7FFFFFFF
|
|
+
|
|
+// Are unaligned load/stores broken on this arch?
|
|
+var brokenUnaligned = false
|
|
|