python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / gdome2 / xml-document.patch
blob7567d1049fc09c9a381833cc9be70539275ab138
1 --- a/libgdome/gdomecore/gdome-xml-documentt.c 2003-07-13 14:47:54.000000000 +0400
2 +++ b/libgdome/gdomecore/gdome-xml-documentt.c 2013-07-02 14:09:18.304613703 +0400
3 @@ -342,7 +342,7 @@
5 xmlNodeDumpOutput (out_buff, NULL, (xmlNode *)is, 0, 0, NULL);
6 xmlOutputBufferFlush(out_buff);
7 - ret = g_strndup (out_buff->buffer->content, out_buff->buffer->use);
8 + ret = g_strndup (xmlBufContent(out_buff), xmlBufUse(out_buff));
9 (void)xmlOutputBufferClose(out_buff);
11 return gdome_xml_str_mkref_own (ret);