aboutsummaryrefslogtreecommitdiffstats
path: root/testing/elektra/fix-augeas-internal-inconsistency.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-02-07 13:46:33 +0100
committerJakub Jirutka <jakub@jirutka.cz>2018-02-07 13:47:19 +0100
commit120a747aea14fdcf1449a8264f90b048bcd5d97a (patch)
treea95c44241715f5f9bde728daac9cab16f012f07f /testing/elektra/fix-augeas-internal-inconsistency.patch
parent03c1bdba4241495011fc68cc4839efc34e21ae3f (diff)
downloadaports-120a747aea14fdcf1449a8264f90b048bcd5d97a.tar.bz2
aports-120a747aea14fdcf1449a8264f90b048bcd5d97a.tar.xz
testing/elektra: new aport
https://www.libelektra.org A universal and secure framework to access configuration parameters
Diffstat (limited to 'testing/elektra/fix-augeas-internal-inconsistency.patch')
-rw-r--r--testing/elektra/fix-augeas-internal-inconsistency.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/elektra/fix-augeas-internal-inconsistency.patch b/testing/elektra/fix-augeas-internal-inconsistency.patch
new file mode 100644
index 0000000000..b003a90a43
--- /dev/null
+++ b/testing/elektra/fix-augeas-internal-inconsistency.patch
@@ -0,0 +1,43 @@
+From c93b4175480f7ded03e43b17108fed5434263069 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Rene=CC=81=20Schwaiger?= <sanssecours@me.com>
+Date: Thu, 28 Dec 2017 12:17:08 +0100
+Subject: [PATCH] Augeas: Fix internal inconsistency
+
+Patch-Source: https://github.com/ElektraInitiative/libelektra/pull/1761
+---
+ src/plugins/augeas/CMakeLists.txt | 9 +++++----
+ 1 file changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/src/plugins/augeas/CMakeLists.txt b/src/plugins/augeas/CMakeLists.txt
+index b4c9c7c15b..dc29fa8642 100644
+--- a/src/plugins/augeas/CMakeLists.txt
++++ b/src/plugins/augeas/CMakeLists.txt
+@@ -23,6 +23,9 @@ if (DEPENDENCY_PHASE)
+ else (LIBAUGEAS_FOUND)
+ remove_plugin (augeas "libaugeas not found (libaugeas-dev >= 0.16 needed)")
+ endif ()
++
++ set (AUGEAS_PLUGIN_INCLUDE_DIRS ${LIBAUGEAS_INCLUDE_DIR} ${LIBXML2_INCLUDE_DIR})
++ set (AUGEAS_PLUGIN_LIBRARIES ${LIBAUGEAS_LIBRARIES} ${LIBXML2_LIBRARIES})
+ endif ()
+
+ add_plugin(augeas
+@@ -32,16 +35,14 @@ add_plugin(augeas
+ ADD_TEST
+ INSTALL_TEST_DATA
+ INCLUDE_DIRECTORIES
+- ${LIBAUGEAS_INCLUDE_DIR}
+- ${LIBXML2_INCLUDE_DIR}
++ ${AUGEAS_PLUGIN_INCLUDE_DIRS}
+ COMPILE_DEFINITIONS
+ "${LIBAUGEAS_COMPILE_DEFINITIONS}"
+ LINK_ELEKTRA
+ elektra-meta
+ elektra-proposal
+ LINK_LIBRARIES
+- ${LIBAUGEAS_LIBRARIES}
+- ${LIBXML2_LIBRARIES}
++ ${AUGEAS_PLUGIN_LIBRARIES}
+ )
+
+ if (ADDTESTING_PHASE)