Ticket #38779: patch-libgda.diff

File patch-libgda.diff, 1.3 KB (added by dbevans (David B. Evans), 11 years ago)

Proposed patch

  • Portfile

     
    44name            libgda
    55version         1.2.4
    66set branch  [join [lrange [split ${version} .] 0 1] .]
    7 revision        5
     7revision        6
    88description     GDA provides uniform access to different kinds of data sources.
    99long_description        GNU Data Access (GDA) is an attempt to provide \
    1010                        uniform access to different kinds of data sources \
     
    2626                port:intltool \
    2727                port:pkgconfig
    2828
    29 patchfiles      patch-glib-2.32.diff
     29patchfiles      patch-glib-2.32.diff \
     30                patch-libgda-gda-xql-utils.c.diff
    3031
    3132configure.args  --without-bdb \
    3233                --without-mysql \
  • files/patch-libgda-gda-xql-utils.c.diff

     
     1--- libgda/gda-xql-utils.c.orig 2013-07-25 19:00:19.000000000 -0700
     2+++ libgda/gda-xql-utils.c      2013-07-25 19:04:00.000000000 -0700
     3@@ -94,7 +94,7 @@
     4        if (freedoc)
     5                xmlFreeDoc (doc);
     6 
     7-       buffer = g_strdup (outbuf->buffer->content);
     8+       buffer = g_strdup (xmlOutputBufferGetContent (outbuf));
     9        xmlOutputBufferClose (outbuf);
     10 
     11        return buffer;