kde-apps/ark: Fix build (missing header)
[gentoo.git] / app-crypt / gpgme / files / gpgme-1.11.0-build.patch
1 From 8b4fd18c98eab1287836c79ae4efc77541e7dc30 Mon Sep 17 00:00:00 2001
2 From: Alon Bar-Lev <alon.barlev@gmail.com>
3 Date: Wed, 18 Apr 2018 23:53:01 +0300
4 Subject: [PATCH GPGME] build: gpgme-json: install properly
5
6 not installing properly using libtool result in:
7
8  * QA Notice: The following files contain insecure RUNPATHs
9  *  Please file a bug about this at https://bugs.gentoo.org/
10  *  with the maintainer of the package.
11  *   /var/tmp/portage/app-crypt/gpgme-1.11.0/image/usr/bin/gpgme-json
12  *     RPATH: /var/tmp/portage/app-crypt/gpgme-1.11.0/work/b/src/.libs
13 ---
14  src/Makefile.am | 4 +---
15  1 file changed, 1 insertion(+), 3 deletions(-)
16
17 diff --git a/src/Makefile.am b/src/Makefile.am
18 index c2d4a843..3d638b23 100644
19 --- a/src/Makefile.am
20 +++ b/src/Makefile.am
21 @@ -103,9 +103,7 @@ gpgme_tool_SOURCES = gpgme-tool.c argparse.c argparse.h
22  gpgme_tool_LDADD = libgpgme.la @LIBASSUAN_LIBS@
23  
24  gpgme_json_SOURCES = gpgme-json.c cJSON.c cJSON.h
25 -gpgme_json_LDADD = -lm libgpgme.la $(GPG_ERROR_LIBS)
26 -# We use -no-install temporary during development.
27 -gpgme_json_LDFLAGS = -no-install
28 +gpgme_json_LDADD = -lm libgpgme.la @GPG_ERROR_LIBS@
29  
30  
31  if HAVE_W32_SYSTEM
32 -- 
33 2.16.1
34