summaryrefslogtreecommitdiff
path: root/textproc/libxslt/files/patch-libexslt_date.c
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-07-05 23:48:29 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-07-05 23:48:29 +0000
commit215e61778d56e4365e5402ab82ec935a8c4ce036 (patch)
treeedf29c1a7bf79531a61615b50ead020dff7a9e75 /textproc/libxslt/files/patch-libexslt_date.c
parentUpdate to 2.6.11. (diff)
Update to 1.1.8.
Notes
Notes: svn path=/head/; revision=113010
Diffstat (limited to 'textproc/libxslt/files/patch-libexslt_date.c')
-rw-r--r--textproc/libxslt/files/patch-libexslt_date.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/libxslt/files/patch-libexslt_date.c b/textproc/libxslt/files/patch-libexslt_date.c
new file mode 100644
index 000000000000..39d58268a06e
--- /dev/null
+++ b/textproc/libxslt/files/patch-libexslt_date.c
@@ -0,0 +1,11 @@
+--- libexslt/date.c.orig Mon Jul 5 19:38:13 2004
++++ libexslt/date.c Mon Jul 5 19:44:09 2004
+@@ -28,7 +28,7 @@
+ #include "config.h"
+ #endif
+
+-#if HAVE_LOCALTIME_R /* _POSIX_SOURCE required by gnu libc */
++#if defined(HAVE_LOCALTIME_R) && defined(__GLIBC__) /* _POSIX_SOURCE required by gnu libc */
+ #define _POSIX_SOURCE
+ #endif
+