aports/community/syncthing/enable-generic-build-on-s390x.patch
Carlo Landmeter f2f59860d9 community/syncthing: upgrade to 0.14.35
* do not fetch whole sha256-simd tarball but just patch it (even if s390x is disabled).
* enable strip again: https://dominik.honnef.co/posts/2016/10/go-and-strip.
* update initd to support multiple instances and add logging.
* fix build by removing symlink project in builddir and just copy it.
2017-08-09 17:37:45 +02:00

37 lines
1.1 KiB
Diff

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