Ticket #39296: patch-libxml2-2.9.diff
File patch-libxml2-2.9.diff, 3.9 KB (added by dbevans (David B. Evans), 11 years ago) |
---|
-
Portfile
5 5 6 6 name evolution-data-server 7 7 version 2.30.3 8 revision 48 revision 5 9 9 set branch [join [lrange [split ${version} .] 0 1] .] 10 10 description Addressbook and calender libs for GNOME. 11 11 long_description Evolution Data Server provides a central location for \ … … 38 38 use_bzip2 yes 39 39 40 40 patchfiles patch-configure.ac.diff \ 41 patch-m4-evo_krb5_support.m4.diff 41 patch-m4-evo_krb5_support.m4.diff \ 42 patch-servers-google-libgdata-gdata-entry.c.diff \ 43 patch-calendar-backends-caldav-e-cal-backend-caldav.c.diff 42 44 43 45 # Delete this once upstream actually fixes configure.ac 44 46 # See https://trac.macports.org/ticket/34599 … … 60 62 --with-nss-includes=${prefix}/include/nss \ 61 63 --with-nss-libs=${prefix}/lib/nss \ 62 64 --with-krb5=/usr \ 65 --disable-silent-rules \ 63 66 --disable-schemas-install 64 67 65 68 # -
files/patch-calendar-backends-caldav-e-cal-backend-caldav.c.diff
1 --- calendar/backends/caldav/e-cal-backend-caldav.c.orig 2010-07-18 10:42:46.000000000 -0700 2 +++ calendar/backends/caldav/e-cal-backend-caldav.c 2013-06-02 14:32:50.000000000 -0700 3 @@ -1038,8 +1038,8 @@ 4 soup_message_set_request (message, 5 "application/xml", 6 SOUP_MEMORY_COPY, 7 - (gchar *) buf->buffer->content, 8 - buf->buffer->use); 9 + (gchar *) xmlBufContent(buf->buffer), 10 + xmlBufUse(buf->buffer)); 11 12 /* Send the request now */ 13 send_and_handle_redirection (priv->session, message, NULL); 14 @@ -1180,8 +1180,8 @@ 15 soup_message_set_request (message, 16 "application/xml", 17 SOUP_MEMORY_COPY, 18 - (gchar *) buf->buffer->content, 19 - buf->buffer->use); 20 + (gchar *) xmlBufContent(buf->buffer), 21 + xmlBufUse(buf->buffer)); 22 23 /* Send the request now */ 24 send_and_handle_redirection (priv->session, message, NULL); 25 @@ -1502,8 +1502,8 @@ 26 soup_message_set_request (message, 27 "application/xml", 28 SOUP_MEMORY_COPY, 29 - (gchar *) buf->buffer->content, 30 - buf->buffer->use); 31 + (gchar *) xmlBufContent(buf->buffer), 32 + xmlBufUse(buf->buffer)); 33 34 /* Send the request now */ 35 send_and_handle_redirection (priv->session, message, NULL); 36 @@ -1552,8 +1552,8 @@ 37 soup_message_set_request (message, 38 "application/xml", 39 SOUP_MEMORY_COPY, 40 - (gchar *) buf->buffer->content, 41 - buf->buffer->use); 42 + (gchar *) xmlBufContent(buf->buffer), 43 + xmlBufUse(buf->buffer)); 44 45 /* Send the request now */ 46 send_and_handle_redirection (priv->session, message, NULL); -
files/patch-servers-google-libgdata-gdata-entry.c.diff
1 --- servers/google/libgdata/gdata-entry.c.orig 2010-06-20 05:15:47.000000000 -0700 2 +++ servers/google/libgdata/gdata-entry.c 2013-06-02 14:25:37.000000000 -0700 3 @@ -877,9 +877,9 @@ 4 xmlOutputBufferFlush (buf); 5 6 if (buf->conv == NULL) 7 - xmlString = g_strdup ((gchar *)buf->buffer->content); 8 + xmlString = g_strdup ((gchar *)xmlBufContent(buf->buffer)); 9 else 10 - xmlString = g_strdup ((gchar *)buf->conv->content); 11 + xmlString = g_strdup ((gchar *)xmlBufContent(buf->conv)); 12 xmlOutputBufferClose (buf); 13 } 14