diff options
author | obache <obache@pkgsrc.org> | 2012-09-21 11:49:20 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2012-09-21 11:49:20 +0000 |
commit | 9d2176c3c6e21da35f766826cfaa356b9bac11a6 (patch) | |
tree | 2049c9e13e9cc45faa7d572770e3a747f148a364 /mail/evolution | |
parent | 372fa4c02ab323426ea11e4046c07445e142da65 (diff) | |
download | pkgsrc-9d2176c3c6e21da35f766826cfaa356b9bac11a6.tar.gz |
Add an patch for libxml2>=2.9.0
Diffstat (limited to 'mail/evolution')
-rw-r--r-- | mail/evolution/distinfo | 3 | ||||
-rw-r--r-- | mail/evolution/patches/patch-plugins_caldav_caldav-browse-server.c | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/mail/evolution/distinfo b/mail/evolution/distinfo index 83c57b584b8..631c14a6a45 100644 --- a/mail/evolution/distinfo +++ b/mail/evolution/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.81 2011/05/18 11:00:53 drochner Exp $ +$NetBSD: distinfo,v 1.82 2012/09/21 11:49:20 obache Exp $ SHA1 (evolution-2.32.3.tar.bz2) = cc2a2126ef4192193dce50c43c5bb6fc0a57fcde RMD160 (evolution-2.32.3.tar.bz2) = 1b64d00a38cf8ad5c273cc4f4aee73124fe818af @@ -7,6 +7,7 @@ SHA1 (patch-aa) = 6656278d2a54fdc585b4f0708da657ed0afbeec2 SHA1 (patch-ab) = 792e5f7fdb0dc84fdbe0ef1ade21ce4a391e9328 SHA1 (patch-ac) = 853fe9f4a28fa1fe1266607b93e4ef9f63969b42 SHA1 (patch-ad) = 7efe568191ab181ea2b42ddac33db277b69b7d1e +SHA1 (patch-plugins_caldav_caldav-browse-server.c) = c35c4acb0c3d28337d7aa811e81a4ce85ecec7b0 SHA1 (patch-ya) = 73872309c1d69d6d10bf04d867cc04ce17e724d3 SHA1 (patch-yb) = 6d09dceb5405b29cde657eea6fa0fbd004a8bd1f SHA1 (patch-yc) = 1312f89cd935dab9fd3bfae860a055d9d2fef794 diff --git a/mail/evolution/patches/patch-plugins_caldav_caldav-browse-server.c b/mail/evolution/patches/patch-plugins_caldav_caldav-browse-server.c new file mode 100644 index 00000000000..24562b28467 --- /dev/null +++ b/mail/evolution/patches/patch-plugins_caldav_caldav-browse-server.c @@ -0,0 +1,21 @@ +$NetBSD: patch-plugins_caldav_caldav-browse-server.c,v 1.1 2012/09/21 11:49:20 obache Exp $ + +* support both old and new-buf libxml2 APIs + +--- plugins/caldav/caldav-browse-server.c.orig 2011-03-29 18:38:48.000000000 +0000 ++++ plugins/caldav/caldav-browse-server.c +@@ -979,7 +979,13 @@ send_xml_message (xmlDocPtr doc, gboolea + + soup_message_headers_append (message->request_headers, "User-Agent", "Evolution/" VERSION); + soup_message_headers_append (message->request_headers, "Depth", depth_1 ? "1" : "0"); +- soup_message_set_request (message, "application/xml", SOUP_MEMORY_COPY, (const gchar *) buf->buffer->content, buf->buffer->use); ++ soup_message_set_request (message, "application/xml", SOUP_MEMORY_COPY, ++#ifdef LIBXML2_NEW_BUFFER ++ (const gchar *) xmlOutputBufferGetContent(buf), ++ xmlOutputBufferGetSize(buf)); ++#else ++ (const gchar *) buf->buffer->content, buf->buffer->use); ++#endif + + /* Clean up the memory */ + xmlOutputBufferClose (buf); |