summaryrefslogtreecommitdiffstats
path: root/package/libxml2
diff options
context:
space:
mode:
authorSamuel Martin <s.martin49@gmail.com>2014-12-30 10:36:26 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-12-30 11:19:00 +0100
commitdc9022e48107ef5d28cdcfbbfb234fc28255bccd (patch)
treea752fa4a5e58ff7695f9c3d02dfed1a4e0bf1aa6 /package/libxml2
parent27dd32942e1ee2cdb7a15693fc9dfb2e7fd93e10 (diff)
downloadbuildroot-dc9022e48107ef5d28cdcfbbfb234fc28255bccd.tar.gz
buildroot-dc9022e48107ef5d28cdcfbbfb234fc28255bccd.zip
package/libxml2: fix libxml2-config.cmake
This patch aligns the libxml2-config.cmake module to what the libxml-2.0.pc set. This patch has already been sent upstream: https://mail.gnome.org/archives/xml/2014-December/msg00015.html Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libxml2')
-rw-r--r--package/libxml2/0001-libxml2-config.cmake.in-update-include-directories.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/libxml2/0001-libxml2-config.cmake.in-update-include-directories.patch b/package/libxml2/0001-libxml2-config.cmake.in-update-include-directories.patch
new file mode 100644
index 0000000000..589c8d601e
--- /dev/null
+++ b/package/libxml2/0001-libxml2-config.cmake.in-update-include-directories.patch
@@ -0,0 +1,28 @@
+From dd6125f4b58fe7bc270e51bc3fcf41cd228d22fc Mon Sep 17 00:00:00 2001
+From: Samuel Martin <s.martin49@gmail.com>
+Date: Mon, 29 Dec 2014 20:40:18 +0100
+Subject: [PATCH] libxml2-config.cmake.in: update include directories
+
+Align the include directories on those from the pkg-config module.
+
+Signed-off-by: Samuel Martin <s.martin49@gmail.com>
+---
+ libxml2-config.cmake.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libxml2-config.cmake.in b/libxml2-config.cmake.in
+index ac29329..6b16fc2 100644
+--- a/libxml2-config.cmake.in
++++ b/libxml2-config.cmake.in
+@@ -21,7 +21,7 @@ set(LIBXML2_VERSION_MINOR @LIBXML_MINOR_VERSION@)
+ set(LIBXML2_VERSION_MICRO @LIBXML_MICRO_VERSION@)
+ set(LIBXML2_VERSION_STRING "@VERSION@")
+ set(LIBXML2_INSTALL_PREFIX ${_libxml2_rootdir})
+-set(LIBXML2_INCLUDE_DIRS ${_libxml2_rootdir}/include)
++set(LIBXML2_INCLUDE_DIRS ${_libxml2_rootdir}/include ${_libxml2_rootdir}/include/libxml2)
+ set(LIBXML2_LIBRARY_DIR ${_libxml2_rootdir}/lib)
+ set(LIBXML2_LIBRARIES -L${LIBXML2_LIBRARY_DIR} -lxml2)
+
+--
+2.2.1
+
OpenPOWER on IntegriCloud