Re-add patch that was removed by mistake in previous.

This commit is contained in:
ajacoutot 2013-03-07 08:18:20 +00:00
parent e359fc7355
commit b84bc0e6ea
2 changed files with 22 additions and 1 deletions

View File

@ -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/}

View File

@ -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);