summaryrefslogtreecommitdiff
path: root/textproc/libxslt/files
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2007-09-07 15:57:42 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2007-09-07 15:57:42 +0000
commit4736f2ef4464288779ab1754b512687667987beb (patch)
treed518874359b0f31e7345285580153e14cf4115ff /textproc/libxslt/files
parentUpdate to 2.6.30. (diff)
Update to 1.1.22.
Diffstat (limited to 'textproc/libxslt/files')
-rw-r--r--textproc/libxslt/files/patch-libexslt_date.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/textproc/libxslt/files/patch-libexslt_date.c b/textproc/libxslt/files/patch-libexslt_date.c
index 39d58268a06e..6012e7eaf958 100644
--- a/textproc/libxslt/files/patch-libexslt_date.c
+++ b/textproc/libxslt/files/patch-libexslt_date.c
@@ -1,11 +1,11 @@
---- libexslt/date.c.orig Mon Jul 5 19:38:13 2004
-+++ libexslt/date.c Mon Jul 5 19:44:09 2004
+--- libexslt/date.c.orig 2007-09-07 10:59:04.000000000 -0500
++++ libexslt/date.c 2007-09-07 10:59:21.000000000 -0500
@@ -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 */
+ #ifndef _AIX51 /* but on AIX we're not using gnu libc */
#define _POSIX_SOURCE
#endif
-