aboutsummaryrefslogtreecommitdiff
path: root/textproc/libxml2
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-11-10 02:13:21 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-11-10 02:13:21 +0000
commit60e4a7332eee52114db4973c71ab3ea31618c0da (patch)
treed386aaacc8ca2edcd0a56eeb7f8ea35b92e75456 /textproc/libxml2
parenta9b6ed5f724fe3d1045f29dd9495232f843d4003 (diff)
downloadports-60e4a7332eee52114db4973c71ab3ea31618c0da.tar.gz
ports-60e4a7332eee52114db4973c71ab3ea31618c0da.zip
Actually add the patch to fix the crash.
Notes
Notes: svn path=/head/; revision=121273
Diffstat (limited to 'textproc/libxml2')
-rw-r--r--textproc/libxml2/files/patch-error.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/libxml2/files/patch-error.c b/textproc/libxml2/files/patch-error.c
new file mode 100644
index 000000000000..e50af6defec6
--- /dev/null
+++ b/textproc/libxml2/files/patch-error.c
@@ -0,0 +1,11 @@
+--- error.c.orig Tue Nov 9 21:08:54 2004
++++ error.c Tue Nov 9 21:09:05 2004
+@@ -453,7 +453,7 @@
+ return;
+ if ((domain == XML_FROM_PARSER) || (domain == XML_FROM_HTML) ||
+ (domain == XML_FROM_DTD) || (domain == XML_FROM_NAMESPACE) ||
+- (domain == XML_FROM_IO) || (domain == XML_FROM_VALID)) {
++ (domain == XML_FROM_IO)) {
+ ctxt = (xmlParserCtxtPtr) ctx;
+ if ((schannel == NULL) && (ctxt != NULL) && (ctxt->sax != NULL) &&
+ (ctxt->sax->initialized == XML_SAX2_MAGIC))