summaryrefslogtreecommitdiff
path: root/mail/evolution-data-server/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'mail/evolution-data-server/patches/patch-ab')
-rw-r--r--mail/evolution-data-server/patches/patch-ab14
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/evolution-data-server/patches/patch-ab b/mail/evolution-data-server/patches/patch-ab
new file mode 100644
index 00000000000..287d206a0ef
--- /dev/null
+++ b/mail/evolution-data-server/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.7 2011/07/21 17:05:36 joerg Exp $
+
+For localtime_r, safer than adjusting the _XOPEN_SOURCE earlier in the file.
+
+--- libedataserver/e-time-utils.c.orig 2011-07-20 12:30:18.000000000 +0000
++++ libedataserver/e-time-utils.c
+@@ -13,6 +13,7 @@
+
+ /* For tm_gmtoff */
+ #define _BSD_SOURCE
++#define _NETBSD_SOURCE
+
+ #include <time.h>
+ #include <sys/time.h>