summaryrefslogtreecommitdiff
path: root/data/_libxml2
diff options
context:
space:
mode:
Diffstat (limited to 'data/_libxml2')
-rw-r--r--data/_libxml2/_metadata/depiction1
-rw-r--r--data/_libxml2/_metadata/description1
-rw-r--r--data/_libxml2/_metadata/homepage1
-rw-r--r--data/_libxml2/_metadata/license27
l---------data/_libxml2/_metadata/maintainer1
-rw-r--r--data/_libxml2/_metadata/priority1
-rw-r--r--data/_libxml2/_metadata/role1
-rw-r--r--data/_libxml2/_metadata/section1
-rw-r--r--data/_libxml2/_metadata/tags1
-rw-r--r--data/_libxml2/_metadata/version1
-rw-r--r--data/_libxml2/formed.diff38
-rw-r--r--data/_libxml2/libxml2-2.6.32.tar.gzbin0 -> 4722227 bytes
-rw-r--r--data/_libxml2/make.sh4
-rw-r--r--data/_libxml2/nspop.diff10
14 files changed, 88 insertions, 0 deletions
diff --git a/data/_libxml2/_metadata/depiction b/data/_libxml2/_metadata/depiction
new file mode 100644
index 000000000..e14987749
--- /dev/null
+++ b/data/_libxml2/_metadata/depiction
@@ -0,0 +1 @@
+http://cydia.saurik.com/info/libxml2/
diff --git a/data/_libxml2/_metadata/description b/data/_libxml2/_metadata/description
new file mode 100644
index 000000000..4fa2b6136
--- /dev/null
+++ b/data/_libxml2/_metadata/description
@@ -0,0 +1 @@
+very popular XML parser from Gnome
diff --git a/data/_libxml2/_metadata/homepage b/data/_libxml2/_metadata/homepage
new file mode 100644
index 000000000..3257c46a0
--- /dev/null
+++ b/data/_libxml2/_metadata/homepage
@@ -0,0 +1 @@
+http://xmlsoft.org/
diff --git a/data/_libxml2/_metadata/license b/data/_libxml2/_metadata/license
new file mode 100644
index 000000000..417e95531
--- /dev/null
+++ b/data/_libxml2/_metadata/license
@@ -0,0 +1,27 @@
+Except where otherwise noted in the source code (e.g. the files hash.c,
+list.c and the trio files, which are covered by a similar licence but
+with different Copyright notices) all the files are:
+
+ Copyright (C) 1998-2003 Daniel Veillard. All Rights Reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is fur-
+nished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
+NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
+NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the name of Daniel Veillard shall not
+be used in advertising or otherwise to promote the sale, use or other deal-
+ings in this Software without prior written authorization from him.
+
diff --git a/data/_libxml2/_metadata/maintainer b/data/_libxml2/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/_libxml2/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/_libxml2/_metadata/priority b/data/_libxml2/_metadata/priority
new file mode 100644
index 000000000..fad9e164a
--- /dev/null
+++ b/data/_libxml2/_metadata/priority
@@ -0,0 +1 @@
+required
diff --git a/data/_libxml2/_metadata/role b/data/_libxml2/_metadata/role
new file mode 100644
index 000000000..8d0320866
--- /dev/null
+++ b/data/_libxml2/_metadata/role
@@ -0,0 +1 @@
+developer
diff --git a/data/_libxml2/_metadata/section b/data/_libxml2/_metadata/section
new file mode 100644
index 000000000..e0eb96881
--- /dev/null
+++ b/data/_libxml2/_metadata/section
@@ -0,0 +1 @@
+Development
diff --git a/data/_libxml2/_metadata/tags b/data/_libxml2/_metadata/tags
new file mode 100644
index 000000000..a8928cec8
--- /dev/null
+++ b/data/_libxml2/_metadata/tags
@@ -0,0 +1 @@
+purpose::library
diff --git a/data/_libxml2/_metadata/version b/data/_libxml2/_metadata/version
new file mode 100644
index 000000000..2edd3d459
--- /dev/null
+++ b/data/_libxml2/_metadata/version
@@ -0,0 +1 @@
+2.6.32
diff --git a/data/_libxml2/formed.diff b/data/_libxml2/formed.diff
new file mode 100644
index 000000000..9ff684d7c
--- /dev/null
+++ b/data/_libxml2/formed.diff
@@ -0,0 +1,38 @@
+diff -ru libxml2-2.6.32/parser.c libxml2-2.6.32+iPhone/parser.c
+--- libxml2-2.6.32/parser.c 2008-04-08 14:47:58.000000000 +0000
++++ libxml2-2.6.32+iPhone/parser.c 2008-08-28 07:30:34.000000000 +0000
+@@ -10003,7 +10003,7 @@
+ xmlParseGetLasts(ctxt, &lastlt, &lastgt);
+
+ while (1) {
+- if ((ctxt->errNo != XML_ERR_OK) && (ctxt->disableSAX == 1))
++ if ((ctxt->wellFormed != 1) && (ctxt->disableSAX == 1))
+ return(0);
+
+
+@@ -10881,7 +10881,7 @@
+
+ if (ctxt == NULL)
+ return(XML_ERR_INTERNAL_ERROR);
+- if ((ctxt->errNo != XML_ERR_OK) && (ctxt->disableSAX == 1))
++ if ((ctxt->wellFormed != 1) && (ctxt->disableSAX == 1))
+ return(ctxt->errNo);
+ if (ctxt->instate == XML_PARSER_START)
+ xmlDetectSAX2(ctxt);
+@@ -10932,7 +10932,7 @@
+ (ctxt->input->buf != NULL)) {
+ xmlParserInputBufferPush(ctxt->input->buf, 1, "\r");
+ }
+- if ((ctxt->errNo != XML_ERR_OK) && (ctxt->disableSAX == 1))
++ if ((ctxt->wellFormed != 1) && (ctxt->disableSAX == 1))
+ return(ctxt->errNo);
+ if (terminate) {
+ /*
+@@ -10962,6 +10962,7 @@
+ }
+ ctxt->instate = XML_PARSER_EOF;
+ }
++ if (ctxt->wellFormed) return(0);
+ return((xmlParserErrors) ctxt->errNo);
+ }
+
diff --git a/data/_libxml2/libxml2-2.6.32.tar.gz b/data/_libxml2/libxml2-2.6.32.tar.gz
new file mode 100644
index 000000000..5e3a6f4f0
--- /dev/null
+++ b/data/_libxml2/libxml2-2.6.32.tar.gz
Binary files differ
diff --git a/data/_libxml2/make.sh b/data/_libxml2/make.sh
new file mode 100644
index 000000000..457bfd295
--- /dev/null
+++ b/data/_libxml2/make.sh
@@ -0,0 +1,4 @@
+pkg:setup
+pkg:configure --without-python
+make
+pkg:install
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) &&