From 87636fed7ae915eb688e96bc061804798424a775 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Sat, 26 Nov 2011 20:54:44 -0500 Subject: [PATCH] contrib: libxml2: disable tests --- contrib/src/libxml2/no-tests.patch | 17 +++++++++++++++++ contrib/src/libxml2/rules.mak | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 contrib/src/libxml2/no-tests.patch diff --git a/contrib/src/libxml2/no-tests.patch b/contrib/src/libxml2/no-tests.patch new file mode 100644 index 0000000000..1f37434191 --- /dev/null +++ b/contrib/src/libxml2/no-tests.patch @@ -0,0 +1,17 @@ +--- libxml2/Makefile.am.orig 2011-11-26 20:53:51.147060747 -0500 ++++ libxml2/Makefile.am 2011-11-26 20:52:36.013140366 -0500 +@@ -8,10 +8,10 @@ + + INCLUDES = -I$(top_builddir)/include -I@srcdir@/include @THREAD_CFLAGS@ @Z_CFLAGS@ + +-noinst_PROGRAMS=testSchemas testRelax testSAX testHTML testXPath testURI \ +- testThreads testC14N testAutomata testRegexp \ +- testReader testapi testModule runtest runsuite testchar \ +- testdict runxmlconf testrecurse ++#noinst_PROGRAMS=testSchemas testRelax testSAX testHTML testXPath testURI \ ++# testThreads testC14N testAutomata testRegexp \ ++# testReader testapi testModule runtest runsuite testchar \ ++# testdict runxmlconf testrecurse + + bin_PROGRAMS = xmllint xmlcatalog + diff --git a/contrib/src/libxml2/rules.mak b/contrib/src/libxml2/rules.mak index 0a6a426351..cf81b627e6 100644 --- a/contrib/src/libxml2/rules.mak +++ b/contrib/src/libxml2/rules.mak @@ -17,9 +17,11 @@ XMLCONF = --with-minimal --with-catalog --with-reader --with-tree --with-push -- libxml2: libxml2-$(LIBXML2_VERSION).tar.gz .sum-libxml2 $(UNPACK) + $(APPLY) $(SRC)/libxml2/no-tests.patch $(MOVE) .libxml2: libxml2 + $(RECONF) cd $< && $(HOSTVARS) ./configure $(HOSTCONF) CFLAGS="-DLIBXML_STATIC" $(XMLCONF) cd $< && $(MAKE) install touch $@ -- 2.39.2