openbsd-ports/databases/evolution-data-server/patches/patch-addressbook_backends_file_e-book-backend-file_c

16 lines
631 B
Plaintext
Raw Normal View History

$OpenBSD: patch-addressbook_backends_file_e-book-backend-file_c,v 1.11 2012/04/16 14:22:30 jasper Exp $
2011-12-29 04:23:19 -05:00
On OpenBSD, time_t is an int.
--- addressbook/backends/file/e-book-backend-file.c.orig Mon Apr 9 07:00:58 2012
+++ addressbook/backends/file/e-book-backend-file.c Mon Apr 16 15:42:48 2012
@@ -758,7 +758,7 @@ e_book_backend_file_create_unique_id (void)
* it's doubtful 2^32 id's will be created in a second, so we
* should be okay. */
static guint c = 0;
- return g_strdup_printf (PAS_ID_PREFIX "%08lX%08X", time(NULL), c++);
2011-12-29 04:23:19 -05:00
+ return g_strdup_printf (PAS_ID_PREFIX "%08X%08X", time(NULL), c++);
}
2012-03-29 02:45:21 -04:00
static gchar *