From b5ac497d66e53dfe0e3408c57ff34a02e52c26e5 Mon Sep 17 00:00:00 2001 From: Maxim Anisimov Date: Tue, 3 Aug 2021 17:43:31 +0300 Subject: [PATCH] libxslt: fix compilation because of wrong libxml2 check in configure script More details: https://github.com/GNOME/libxslt/commit/90c34c8bb90e095a8a8fe8b2ce368bd9ff1837cc Signed-off-by: Maxim Anisimov --- libs/libxslt/patches/010-fix-xml2-config-check.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libs/libxslt/patches/010-fix-xml2-config-check.patch 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 index 000000000..657705e91 --- /dev/null +++ b/libs/libxslt/patches/010-fix-xml2-config-check.patch @@ -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`