aboutsummaryrefslogtreecommitdiffstats
path: root/community/syncthing/enable-generic-build-on-s390x.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/syncthing/enable-generic-build-on-s390x.patch')
-rw-r--r--community/syncthing/enable-generic-build-on-s390x.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/syncthing/enable-generic-build-on-s390x.patch b/community/syncthing/enable-generic-build-on-s390x.patch
new file mode 100644
index 0000000000..a2207c7bcd
--- /dev/null
+++ b/community/syncthing/enable-generic-build-on-s390x.patch
@@ -0,0 +1,36 @@
+From c1b8c15f920f33755fece096e71338332bdef820 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
+Date: Mon, 24 Apr 2017 14:08:56 +0200
+Subject: [PATCH] enable generic build on s390x
+
+---
+ cpuid_other.go | 2 +-
+ sha256block_other.go | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/cpuid_other.go b/cpuid_other.go
+index 203588c..e26952a 100644
+--- a/vendor/github.com/minio/sha256-simd/cpuid_other.go
++++ b/vendor/github.com/minio/sha256-simd/cpuid_other.go
+@@ -13,7 +13,7 @@
+ // limitations under the License.
+ //
+
+-// +build ppc64 ppc64le mips mipsle mips64 mips64le
++// +build ppc64 ppc64le mips mipsle mips64 mips64le s390x
+
+ package sha256
+
+diff --git a/sha256block_other.go b/sha256block_other.go
+index 00a3488..38e7403 100644
+--- a/vendor/github.com/minio/sha256-simd/sha256block_other.go
++++ b/vendor/github.com/minio/sha256-simd/sha256block_other.go
+@@ -13,7 +13,7 @@
+ // limitations under the License.
+ //
+
+-// +build ppc64 ppc64le mips mipsle mips64 mips64le
++// +build ppc64 ppc64le mips mipsle mips64 mips64le s390x
+
+ package sha256
+