summaryrefslogtreecommitdiff
path: root/app-crypt/gpgme/files/gpgme-1.11.0-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/gpgme/files/gpgme-1.11.0-build.patch')
-rw-r--r--app-crypt/gpgme/files/gpgme-1.11.0-build.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/app-crypt/gpgme/files/gpgme-1.11.0-build.patch b/app-crypt/gpgme/files/gpgme-1.11.0-build.patch
new file mode 100644
index 000000000000..7477a0ae8e84
--- /dev/null
+++ b/app-crypt/gpgme/files/gpgme-1.11.0-build.patch
@@ -0,0 +1,34 @@
+From 8b4fd18c98eab1287836c79ae4efc77541e7dc30 Mon Sep 17 00:00:00 2001
+From: Alon Bar-Lev <alon.barlev@gmail.com>
+Date: Wed, 18 Apr 2018 23:53:01 +0300
+Subject: [PATCH GPGME] build: gpgme-json: install properly
+
+not installing properly using libtool result in:
+
+ * QA Notice: The following files contain insecure RUNPATHs
+ * Please file a bug about this at https://bugs.gentoo.org/
+ * with the maintainer of the package.
+ * /var/tmp/portage/app-crypt/gpgme-1.11.0/image/usr/bin/gpgme-json
+ * RPATH: /var/tmp/portage/app-crypt/gpgme-1.11.0/work/b/src/.libs
+---
+ src/Makefile.am | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index c2d4a843..3d638b23 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -103,9 +103,7 @@ gpgme_tool_SOURCES = gpgme-tool.c argparse.c argparse.h
+ gpgme_tool_LDADD = libgpgme.la @LIBASSUAN_LIBS@
+
+ gpgme_json_SOURCES = gpgme-json.c cJSON.c cJSON.h
+-gpgme_json_LDADD = -lm libgpgme.la $(GPG_ERROR_LIBS)
+-# We use -no-install temporary during development.
+-gpgme_json_LDFLAGS = -no-install
++gpgme_json_LDADD = -lm libgpgme.la @GPG_ERROR_LIBS@
+
+
+ if HAVE_W32_SYSTEM
+--
+2.16.1
+