summaryrefslogtreecommitdiff
path: root/textproc/gdome2/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2012-11-19 03:01:44 +0000
committerjoerg <joerg>2012-11-19 03:01:44 +0000
commitf0939b3e9a648772b13a02b14571d20c0babb113 (patch)
tree851d4a0333718a8adadbe3f8157373b2b3aa90a3 /textproc/gdome2/patches
parentb7237da82dfad4a3d5479ec84c24bf4a8d54984d (diff)
downloadpkgsrc-f0939b3e9a648772b13a02b14571d20c0babb113.tar.gz
Fix build with new libxml2 API.
Diffstat (limited to 'textproc/gdome2/patches')
-rw-r--r--textproc/gdome2/patches/patch-libgdome_gdomecore_gdome-xml-documentt.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/gdome2/patches/patch-libgdome_gdomecore_gdome-xml-documentt.c b/textproc/gdome2/patches/patch-libgdome_gdomecore_gdome-xml-documentt.c
new file mode 100644
index 00000000000..deeec097e5d
--- /dev/null
+++ b/textproc/gdome2/patches/patch-libgdome_gdomecore_gdome-xml-documentt.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-libgdome_gdomecore_gdome-xml-documentt.c,v 1.1 2012/11/19 03:01:44 joerg Exp $
+
+--- libgdome/gdomecore/gdome-xml-documentt.c.orig 2012-11-19 01:08:40.000000000 +0000
++++ libgdome/gdomecore/gdome-xml-documentt.c
+@@ -342,7 +342,7 @@ gdome_xml_dt_internalSubset (GdomeDocume
+ }
+ xmlNodeDumpOutput (out_buff, NULL, (xmlNode *)is, 0, 0, NULL);
+ xmlOutputBufferFlush(out_buff);
+- ret = g_strndup (out_buff->buffer->content, out_buff->buffer->use);
++ ret = g_strndup (xmlBufferContent(out_buff->buffer), xmlBufferLength(out_buff->buffer));
+ (void)xmlOutputBufferClose(out_buff);
+
+ return gdome_xml_str_mkref_own (ret);