]> git.sesse.net Git - vlc/commitdiff
contrib: libxml2: disable tests
authorRafaël Carré <funman@videolan.org>
Sun, 27 Nov 2011 01:54:44 +0000 (20:54 -0500)
committerRafaël Carré <funman@videolan.org>
Sun, 27 Nov 2011 01:54:44 +0000 (20:54 -0500)
contrib/src/libxml2/no-tests.patch [new file with mode: 0644]
contrib/src/libxml2/rules.mak

diff --git a/contrib/src/libxml2/no-tests.patch b/contrib/src/libxml2/no-tests.patch
new file mode 100644 (file)
index 0000000..1f37434
--- /dev/null
@@ -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
index 0a6a426351555f5b9169d66cc936f73ab4af378a..cf81b627e616a45860187dba657dd9258affbfe9 100644 (file)
@@ -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 $@