summaryrefslogtreecommitdiff
path: root/data/libxml2/nspop.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-08-28 07:58:18 +0000
committerJay Freeman <saurik@saurik.com>2008-08-28 07:58:18 +0000
commit492faf0d6391e7136fc6509e384642094ca361d3 (patch)
tree833f3b3e45c281cea820374235880389752cd232 /data/libxml2/nspop.diff
parentf0f690a63b4d6ecc32205a8b7aa3d59ae341d662 (diff)
Fixed some App Store compatibility problems.
git-svn-id: http://svn.telesphoreo.org/trunk@459 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/libxml2/nspop.diff')
-rw-r--r--data/libxml2/nspop.diff10
1 files changed, 10 insertions, 0 deletions
diff --git a/data/libxml2/nspop.diff b/data/libxml2/nspop.diff
new file mode 100644
index 000000000..c324af8ac
--- /dev/null
+++ b/data/libxml2/nspop.diff
@@ -0,0 +1,10 @@
+--- libxml2-2.6.16/parser.c 2004-11-09 15:48:18.000000000 +0000
++++ libxml2-2.6.16+iPhone/parser.c 2007-08-10 01:39:38.000000000 +0000
+@@ -9253,6 +9276,8 @@
+ (!ctxt->disableSAX))
+ ctxt->sax->endElementNs(ctxt->userData, name, prefix, URI);
++ if (ctxt->nsNr - nsNr > 0)
++ nsPop(ctxt, ctxt->nsNr - nsNr);
+ #ifdef LIBXML_SAX1_ENABLED
+ } else {
+ if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL) &&