diff --git a/databases/evolution-data-server/Makefile b/databases/evolution-data-server/Makefile index d43f39ecf3f..5acf3825a14 100644 --- a/databases/evolution-data-server/Makefile +++ b/databases/evolution-data-server/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.131 2013/03/07 07:53:47 jasper Exp $ +# $OpenBSD: Makefile,v 1.132 2013/03/07 08:18:20 ajacoutot Exp $ SHARED_ONLY= Yes @@ -6,6 +6,7 @@ COMMENT= unified backend for PIM programs GNOME_PROJECT= evolution-data-server GNOME_VERSION= 3.6.4 +REVISION= 0 # Only get the first x.y which is needed in the PLIST. R= ${GNOME_VERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/databases/evolution-data-server/patches/patch-addressbook_backends_ldap_e-book-backend-ldap_c b/databases/evolution-data-server/patches/patch-addressbook_backends_ldap_e-book-backend-ldap_c new file mode 100644 index 00000000000..7d337f97e92 --- /dev/null +++ b/databases/evolution-data-server/patches/patch-addressbook_backends_ldap_e-book-backend-ldap_c @@ -0,0 +1,20 @@ +$OpenBSD: patch-addressbook_backends_ldap_e-book-backend-ldap_c,v 1.13 2013/03/07 08:18:20 ajacoutot Exp $ + +XXX remove when we have a 64-bit time_t + +--- addressbook/backends/ldap/e-book-backend-ldap.c.orig Tue Feb 26 15:58:36 2013 ++++ addressbook/backends/ldap/e-book-backend-ldap.c Thu Mar 7 08:47:07 2013 +@@ -1276,11 +1276,11 @@ create_dn_from_contact (EContact *contact, + } + + dn = g_strdup_printf ( +- "%s=%s%s%lu", ++ "%s=%s%s%llu", + get_dn_attribute_name (rootdn), + (cn_part && *cn_part) ? cn_part : "", + (cn_part && *cn_part) ? "." : "", +- time (NULL)); ++ (long long)time (NULL)); + + g_free (cn_part); +