summaryrefslogtreecommitdiffstats
path: root/textproc/libxml2
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-11-25 14:40:29 +0000
committermarcus <marcus@FreeBSD.org>2002-11-25 14:40:29 +0000
commitf34c3c9e7c755fafe55a8ac1a9320b5c54e1cd83 (patch)
tree56e912324bda1779020268adb2c2bf8212fd2ac7 /textproc/libxml2
parent9a6b9c4bea22253e538006abc21d8ce67b2d5c4f (diff)
downloadFreeBSD-ports-f34c3c9e7c755fafe55a8ac1a9320b5c54e1cd83.zip
FreeBSD-ports-f34c3c9e7c755fafe55a8ac1a9320b5c54e1cd83.tar.gz
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 'textproc/libxml2')
-rw-r--r--textproc/libxml2/Makefile1
-rw-r--r--textproc/libxml2/files/patch-parser.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile
index d2bf16c..19ad6b60 100644
--- a/textproc/libxml2/Makefile
+++ b/textproc/libxml2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libxml2
PORTVERSION= 2.4.28
+PORTREVISION= 1
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.4
diff --git a/textproc/libxml2/files/patch-parser.c b/textproc/libxml2/files/patch-parser.c
new file mode 100644
index 0000000..2582f29
--- /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;
OpenPOWER on IntegriCloud