diff options
author | root <root@rshg054.dnsready.net> | 2013-10-30 01:04:25 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-10-30 01:04:25 -0700 |
commit | 7c151ac5589d3dbef5972f69a62b847ecf565bfa (patch) | |
tree | 9450bd13169930e602731e9c431b79fdaaad2c02 /extra/gdome2/gdome2-0.8.1-libxml2.patch | |
parent | 38b1ce25596ae456fefb3214a73c3d1005da568f (diff) |
Wed Oct 30 01:01:59 PDT 2013
Diffstat (limited to 'extra/gdome2/gdome2-0.8.1-libxml2.patch')
-rw-r--r-- | extra/gdome2/gdome2-0.8.1-libxml2.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/extra/gdome2/gdome2-0.8.1-libxml2.patch b/extra/gdome2/gdome2-0.8.1-libxml2.patch new file mode 100644 index 000000000..bf493bc22 --- /dev/null +++ b/extra/gdome2/gdome2-0.8.1-libxml2.patch @@ -0,0 +1,18 @@ +Patch by Harris Landgarten. + +The patch was submitted on bug 448236, following the announcement on +https://mail.gnome.org/archives/xml/2012-August/msg00005.html +--- libgdome/gdomecore/gdome-xml-documentt.c.orig 2003-07-13 06:47:54.000000000 -0400 ++++ libgdome/gdomecore/gdome-xml-documentt.c 2012-12-23 08:57:23.000000000 -0500 +@@ -342,7 +342,11 @@ + } + xmlNodeDumpOutput (out_buff, NULL, (xmlNode *)is, 0, 0, NULL); + xmlOutputBufferFlush(out_buff); ++#if LIBXML_VERSION < 20900 + ret = g_strndup (out_buff->buffer->content, out_buff->buffer->use); ++#else ++ ret = g_strndup (xmlBufContent(out_buff->buffer), xmlBufUse(out_buff->buffer)); ++#endif + (void)xmlOutputBufferClose(out_buff); + + return gdome_xml_str_mkref_own (ret); |