summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-07-21 17:05:35 +0000
committerjoerg <joerg@pkgsrc.org>2011-07-21 17:05:35 +0000
commit271ff5c8998199875cd63f92adceccbaf7a9d1b0 (patch)
tree40a7fc0741e8a058280bb4a95f462e64c28292b6 /mail
parenteedc60742efa69efc5fa5e514c7def381cd8904c (diff)
downloadpkgsrc-271ff5c8998199875cd63f92adceccbaf7a9d1b0.tar.gz
Make sure localtime_r is present when building with clang.
Diffstat (limited to 'mail')
-rw-r--r--mail/evolution-data-server/distinfo3
-rw-r--r--mail/evolution-data-server/patches/patch-ab14
2 files changed, 16 insertions, 1 deletions
diff --git a/mail/evolution-data-server/distinfo b/mail/evolution-data-server/distinfo
index dad783ba866..1f4b3653928 100644
--- a/mail/evolution-data-server/distinfo
+++ b/mail/evolution-data-server/distinfo
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.74 2011/05/13 17:18:35 drochner Exp $
+$NetBSD: distinfo,v 1.75 2011/07/21 17:05:35 joerg Exp $
SHA1 (evolution-data-server-2.32.3.tar.bz2) = cbf32c3438c4f1650b35b87007a337ebc1c56cec
RMD160 (evolution-data-server-2.32.3.tar.bz2) = adc8b07aef41a89d16fc426541c12190a3688b8f
Size (evolution-data-server-2.32.3.tar.bz2) = 4322281 bytes
SHA1 (patch-aa) = 3b85e844c79edbd9a6dcee5e7819230671e0673e
+SHA1 (patch-ab) = fd27fd0a521899be568c843b24d9b6eeeb99a2bb
SHA1 (patch-bd) = 8df85b9ab7ae71558fb939565e944b614de628bb
SHA1 (patch-ca) = e879d29105997045e1293fe627ec55a05e5ba88d
SHA1 (patch-cc) = a59bbc664a96f467888cae89cb00eb9a9033a925
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>