summaryrefslogtreecommitdiff
path: root/app-crypt/cfssl/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
commit7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch)
tree4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /app-crypt/cfssl/files
parentb284a3168fa91a038925d2ecf5e4791011ea5e7d (diff)
gentoo resync : 15.12.2019
Diffstat (limited to 'app-crypt/cfssl/files')
-rw-r--r--app-crypt/cfssl/files/cfssl-1.4.1-build-fix.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/app-crypt/cfssl/files/cfssl-1.4.1-build-fix.patch b/app-crypt/cfssl/files/cfssl-1.4.1-build-fix.patch
new file mode 100644
index 000000000000..0435a3c88509
--- /dev/null
+++ b/app-crypt/cfssl/files/cfssl-1.4.1-build-fix.patch
@@ -0,0 +1,16 @@
+This patch cannot be upstreamed in this form. However, the following
+issue has been opened to discuss integrating a better solution upstream.
+
+https://github.com/cloudflare/cfssl/issues/1062
+
+diff --git a/Makefile b/Makefile
+index 10a52fc..7fc019b 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,5 +1,4 @@
+-VERSION := $(shell git describe --tags --abbrev=0 | tr -d '[:alpha:]')
+-LDFLAGS := "-s -w -X github.com/cloudflare/cfssl/cli/version.version=$(VERSION)"
++LDFLAGS := "-X github.com/cloudflare/cfssl/cli/version.version=$(VERSION)"
+
+ export GOFLAGS := -mod=vendor
+ export GOPROXY := off