summaryrefslogtreecommitdiff
path: root/textproc/libxml2/patches/patch-xpointer.c
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/libxml2/patches/patch-xpointer.c')
-rw-r--r--textproc/libxml2/patches/patch-xpointer.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/textproc/libxml2/patches/patch-xpointer.c b/textproc/libxml2/patches/patch-xpointer.c
new file mode 100644
index 00000000000..83ac46edf56
--- /dev/null
+++ b/textproc/libxml2/patches/patch-xpointer.c
@@ -0,0 +1,12 @@
+$NetBSD: patch-xpointer.c,v 1.1 2011/11/01 19:21:06 spz Exp $
+
+--- xpointer.c.orig 2010-10-12 06:25:33.000000000 +0000
++++ xpointer.c
+@@ -1269,6 +1269,7 @@ xmlXPtrEvalXPointer(xmlXPathParserContex
+ ctxt->valueNr = 0;
+ ctxt->valueMax = 10;
+ ctxt->value = NULL;
++ ctxt->valueFrame = 0;
+ }
+ SKIP_BLANKS;
+ if (CUR == '/') {