summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch')
-rw-r--r--meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch b/meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch
new file mode 100644
index 0000000000..6665b316cb
--- /dev/null
+++ b/meta/recipes-devtools/librepo/librepo/0004-Set-gpgme-variables-with-pkg-config-not-with-cmake-m.patch
@@ -0,0 +1,29 @@
1From a36be8192615e2a1fb5a5856d44565277f15583b Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 30 Dec 2016 18:23:27 +0200
4Subject: [PATCH 4/4] Set gpgme variables with pkg-config, not with cmake
5 module (which doesn't work properly)
6
7Upstream-Status: Pending
8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
9---
10 CMakeLists.txt | 3 ++-
11 1 file changed, 2 insertions(+), 1 deletion(-)
12
13diff --git a/CMakeLists.txt b/CMakeLists.txt
14index ef07d2d..f1fa09b 100644
15--- a/CMakeLists.txt
16+++ b/CMakeLists.txt
17@@ -31,7 +31,8 @@ PKG_CHECK_MODULES(GLIB2 glib-2.0 REQUIRED)
18 PKG_SEARCH_MODULE(LIBCRYPTO REQUIRED libcrypto openssl)
19 FIND_PACKAGE(EXPAT REQUIRED)
20 FIND_PACKAGE(CURL REQUIRED)
21-FIND_PACKAGE(Gpgme REQUIRED)
22+PKG_CHECK_MODULES(GPGME gpgme REQUIRED)
23+set(GPGME_VANILLA_LIBRARIES ${GPGME_LIBRARIES})
24 FIND_PACKAGE(Xattr REQUIRED)
25
26 INCLUDE_DIRECTORIES(${GLIB2_INCLUDE_DIRS})
27--
282.11.0
29