pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/evolution-data-server Fix build with the new glib2.
details: https://anonhg.NetBSD.org/pkgsrc/rev/060b8597d25c
branches: trunk
changeset: 603416:060b8597d25c
user: dholland <dholland%pkgsrc.org@localhost>
date: Sun May 06 04:34:03 2012 +0000
description:
Fix build with the new glib2.
diffstat:
mail/evolution-data-server/distinfo | 5 +-
mail/evolution-data-server/patches/patch-e_data_server_util_c | 17 +++++++--
mail/evolution-data-server/patches/patch-libedataserver_e-categories_c | 14 ++++++++
3 files changed, 30 insertions(+), 6 deletions(-)
diffs (78 lines):
diff -r 17a661f05e74 -r 060b8597d25c mail/evolution-data-server/distinfo
--- a/mail/evolution-data-server/distinfo Sun May 06 04:15:43 2012 +0000
+++ b/mail/evolution-data-server/distinfo Sun May 06 04:34:03 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.80 2012/05/06 04:15:43 dholland Exp $
+$NetBSD: distinfo,v 1.81 2012/05/06 04:34:03 dholland Exp $
SHA1 (evolution-data-server-2.32.3.tar.bz2) = cbf32c3438c4f1650b35b87007a337ebc1c56cec
RMD160 (evolution-data-server-2.32.3.tar.bz2) = adc8b07aef41a89d16fc426541c12190a3688b8f
@@ -15,4 +15,5 @@
SHA1 (patch-e_data_book_c) = b52f6f50cc19794b2acb9df401bc34eaf8ea7ec7
SHA1 (patch-e_data_book_factory_c) = 889cc05bb7fb1656b7f770ce8caee2a6f14c061c
SHA1 (patch-e_data_cal_factory_c) = 73d811a3a1b4881e0391ff2b81ad11f916ca1b8e
-SHA1 (patch-e_data_server_util_c) = 99b79c1a306f7b5abfc6cff0e84da50ef46d5ecd
+SHA1 (patch-e_data_server_util_c) = fb7d01a036883b22e51a11082ae15e3fe81d81f0
+SHA1 (patch-libedataserver_e-categories_c) = f4045926c8bfd7b6dd0f5905825dd4ece7c09ad1
diff -r 17a661f05e74 -r 060b8597d25c mail/evolution-data-server/patches/patch-e_data_server_util_c
--- a/mail/evolution-data-server/patches/patch-e_data_server_util_c Sun May 06 04:15:43 2012 +0000
+++ b/mail/evolution-data-server/patches/patch-e_data_server_util_c Sun May 06 04:34:03 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-e_data_server_util_c,v 1.1 2012/02/06 10:44:44 drochner Exp $
+$NetBSD: patch-e_data_server_util_c,v 1.2 2012/05/06 04:34:03 dholland Exp $
In glib 2.30 G_UNICODE_COMBINING_MARK became known as
G_UNICODE_SPACING_MARK, and g_unicode_canonical_decomposition was
@@ -6,16 +6,21 @@
--- libedataserver/e-data-server-util.c.orig 2011-04-21 19:35:37.000000000 +0000
+++ libedataserver/e-data-server-util.c
-@@ -245,7 +245,7 @@ e_util_utf8_strstrcase (const gchar *hay
+@@ -245,7 +245,12 @@ e_util_utf8_strstrcase (const gchar *hay
static gunichar
stripped_char (gunichar ch)
{
- gunichar *decomp, retval;
-+ gunichar decomp[4], retval;
++#ifdef G_UNICODE_COMBINING_MARK
++ gunichar *decomp;
++#else
++ gunichar decomp[4];
++#endif
++ gunichar retval;
GUnicodeType utype;
gsize dlen;
-@@ -255,14 +255,23 @@ stripped_char (gunichar ch)
+@@ -255,16 +260,27 @@ stripped_char (gunichar ch)
case G_UNICODE_CONTROL:
case G_UNICODE_FORMAT:
case G_UNICODE_UNASSIGNED:
@@ -37,5 +42,9 @@
+ if ((dlen = g_unichar_fully_decompose(ch, FALSE, decomp, 4))) {
+#endif
retval = decomp[0];
++#ifdef G_UNICODE_COMBINING_MARK
g_free (decomp);
++#endif
return retval;
+ }
+ break;
diff -r 17a661f05e74 -r 060b8597d25c mail/evolution-data-server/patches/patch-libedataserver_e-categories_c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/evolution-data-server/patches/patch-libedataserver_e-categories_c Sun May 06 04:34:03 2012 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-libedataserver_e-categories_c,v 1.1 2012/05/06 04:34:03 dholland Exp $
+
+Fix build with latest glib2.
+
+--- libedataserver/e-categories.c~ 2011-04-21 19:35:37.000000000 +0000
++++ libedataserver/e-categories.c
+@@ -20,6 +20,7 @@
+ #include <config.h>
+ #include <string.h>
+ #include <libxml/parser.h>
++#include <glib.h>
+ #include <glib/gstdio.h>
+ #include <glib/gi18n-lib.h>
+ #include <gconf/gconf-client.h>
Home |
Main Index |
Thread Index |
Old Index