diff options
author | marcus <marcus@FreeBSD.org> | 2004-11-10 02:13:21 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-11-10 02:13:21 +0000 |
commit | c47eeff10a5d8bfe6d64353c405374e83fbb20e2 (patch) | |
tree | 444ce12ac06e873fc9f8b179b2fdb20d93b9b845 /textproc/libxml2 | |
parent | 3804c833f89588ff621f47ba2bb5f6420e56a08a (diff) | |
download | FreeBSD-ports-c47eeff10a5d8bfe6d64353c405374e83fbb20e2.zip FreeBSD-ports-c47eeff10a5d8bfe6d64353c405374e83fbb20e2.tar.gz |
Actually add the patch to fix the crash.
Diffstat (limited to 'textproc/libxml2')
-rw-r--r-- | textproc/libxml2/files/patch-error.c | 11 |
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 0000000..e50af6d --- /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)) |