diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-11-25 14:40:29 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-11-25 14:40:29 +0000 |
commit | 4b5db6201af450c25b86c59865375b4d97ebe590 (patch) | |
tree | 2ab862e237afd50e89e12d93885b27dfc72df4a0 /textproc/libxml2/files/patch-parser.c | |
parent | Fix compilation problem with new gcc 3.x (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | textproc/libxml2/files/patch-parser.c | 11 |
1 files changed, 11 insertions, 0 deletions
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; |