aboutsummaryrefslogtreecommitdiffstats
path: root/community/syncthing/enable-generic-build-on-s390x.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2017-08-09 17:26:17 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2017-08-09 17:37:45 +0200
commitf2f59860d9204a64bb206d144f2a69435cf06886 (patch)
tree6720bf02609ef136ae86d0661ade753717848dae /community/syncthing/enable-generic-build-on-s390x.patch
parente512d8df9e777a8bd8086c4c884e599a0d7faa75 (diff)
downloadaports-f2f59860d9204a64bb206d144f2a69435cf06886.tar.bz2
aports-f2f59860d9204a64bb206d144f2a69435cf06886.tar.xz
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.
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
+