From 4b5db6201af450c25b86c59865375b4d97ebe590 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Mon, 25 Nov 2002 14:40:29 +0000 Subject: Fix a bug introduced in 2.4.27 that caused KDE's doc building procedure to virtually hang. This patch has been fed back to the libxml people, and should be integrated in the next release. Reported by: bento and the KDE people --- textproc/libxml2/files/patch-parser.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 textproc/libxml2/files/patch-parser.c (limited to 'textproc/libxml2/files/patch-parser.c') diff --git a/textproc/libxml2/files/patch-parser.c b/textproc/libxml2/files/patch-parser.c new file mode 100644 index 000000000000..2582f29acb77 --- /dev/null +++ b/textproc/libxml2/files/patch-parser.c @@ -0,0 +1,11 @@ +--- parser.c.orig Mon Nov 25 00:39:37 2002 ++++ parser.c Mon Nov 25 01:49:31 2002 +@@ -9820,7 +9820,7 @@ + ctxt->myDoc = oldctxt->myDoc; + content = ctxt->myDoc->children; + } +- ctxt->myDoc->children = xmlNewDocNode(newDoc, NULL, ++ ctxt->myDoc->children = xmlNewDocNode(ctxt->myDoc, NULL, + BAD_CAST "pseudoroot", NULL); + if (ctxt->myDoc->children == NULL) { + ctxt->sax = oldsax; -- cgit v1.2.3