From 60e4a7332eee52114db4973c71ab3ea31618c0da Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Wed, 10 Nov 2004 02:13:21 +0000 Subject: Actually add the patch to fix the crash. --- textproc/libxml2/files/patch-error.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 textproc/libxml2/files/patch-error.c (limited to 'textproc/libxml2') 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)) -- cgit v1.2.3