libxslt: fix compilation because of wrong libxml2 check in configure script 16293/head
authorMaxim Anisimov <maxim.anisimov.ua@gmail.com>
Tue, 3 Aug 2021 14:43:31 +0000 (17:43 +0300)
committerMaxim Anisimov <maxim.anisimov.ua@gmail.com>
Thu, 5 Aug 2021 06:14:07 +0000 (09:14 +0300)
More details: https://github.com/GNOME/libxslt/commit/90c34c8bb90e095a8a8fe8b2ce368bd9ff1837cc

Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>
libs/libxslt/patches/010-fix-xml2-config-check.patch [new file with mode: 0644]

diff --git a/libs/libxslt/patches/010-fix-xml2-config-check.patch b/libs/libxslt/patches/010-fix-xml2-config-check.patch
new file mode 100644 (file)
index 0000000..657705e
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -546,7 +546,7 @@ dnl make sure xml2-config is executable,
+ dnl test version and init our variables
+ dnl
+-if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs print > /dev/null 2>&1
++if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs > /dev/null 2>&1
+ then
+     AC_MSG_CHECKING(for libxml libraries >= $LIBXML_REQUIRED_VERSION)
+     XMLVERS=`$XML_CONFIG --version`