summaryrefslogtreecommitdiffstats
path: root/patches/libxml2-2.6.32/libxml2-2.6.27-runtest_c-streamparsetest.diff
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2009-06-10 10:57:52 +0000
committerWolfram Sang <w.sang@pengutronix.de>2009-06-10 10:57:52 +0000
commit0c5c03d095485f7521d96cd44314f9a0ee826232 (patch)
tree1df111a8270ba417537931cc6e1a4952b3000ee9 /patches/libxml2-2.6.32/libxml2-2.6.27-runtest_c-streamparsetest.diff
parentd3ee0775cadf505c4bae7b1df483d73bf8294815 (diff)
downloadptxdist-0c5c03d095485f7521d96cd44314f9a0ee826232.tar.gz
ptxdist-0c5c03d095485f7521d96cd44314f9a0ee826232.tar.xz
* patches: remove 'generic'-layer
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10711 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'patches/libxml2-2.6.32/libxml2-2.6.27-runtest_c-streamparsetest.diff')
-rw-r--r--patches/libxml2-2.6.32/libxml2-2.6.27-runtest_c-streamparsetest.diff51
1 files changed, 51 insertions, 0 deletions
diff --git a/patches/libxml2-2.6.32/libxml2-2.6.27-runtest_c-streamparsetest.diff b/patches/libxml2-2.6.32/libxml2-2.6.27-runtest_c-streamparsetest.diff
new file mode 100644
index 000000000..bad75bd02
--- /dev/null
+++ b/patches/libxml2-2.6.32/libxml2-2.6.27-runtest_c-streamparsetest.diff
@@ -0,0 +1,51 @@
+#
+# Submitted-By: Marc Kleine-Budde, 2006-02-28
+# Committed-By: Marc Kleine-Budde
+#
+# Error:
+#
+# if arm-softfloat-linux-gnu-gcc -DHAVE_CONFIG_H
+# -I. -I. -I. -I./include -I./include -D_REENTRANT -g -O2 -pedantic -W
+# -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment
+# -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses
+# -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings
+# -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes
+# -Wnested-externs -Winline -Wredundant-decls -MT runtest.o -MD -MP
+# -MF ".deps/runtest.Tpo" -c -o runtest.o runtest.c; \
+# then mv -f ".deps/runtest.Tpo" ".deps/runtest.Po"; else rm -f
+# ".deps/runtest.Tpo"; exit 1; fi runtest.c:4182: error:
+# 'streamParseTest' undeclared here (not in a function) make[3]: ***
+# [runtest.o] Error 1
+#
+# Description:
+#
+# try to compile a test, thats disabled by config
+#
+# State:
+#
+# not commited, but should be :)
+#
+---
+# runtest.c | 2 ++
+# 1 file changed, 2 insertions(+)
+#
+Index: libxml2-2.6.32/runtest.c
+===================================================================
+--- libxml2-2.6.32.orig/runtest.c
++++ libxml2-2.6.32/runtest.c
+@@ -4183,6 +4183,7 @@ testDesc testDescriptions[] = {
+ errParseTest, "./test/XInclude/docs/*", "result/XInclude/", "", NULL,
+ /* Ignore errors at this point ".err", */
+ XML_PARSE_XINCLUDE },
++#ifdef LIBXML_READER_ENABLED
+ { "XInclude xmlReader regression tests",
+ streamParseTest, "./test/XInclude/docs/*", "result/XInclude/", ".rdr",
+ /* Ignore errors at this point ".err", */
+@@ -4196,6 +4197,7 @@ testDesc testDescriptions[] = {
+ /* Ignore errors at this point ".err", */
+ NULL, XML_PARSE_XINCLUDE | XML_PARSE_NOXINCNODE },
+ #endif
++#endif
+ #ifdef LIBXML_XPATH_ENABLED
+ #ifdef LIBXML_DEBUG_ENABLED
+ { "XPath expressions regression tests" ,