summaryrefslogtreecommitdiff
path: root/editors/openoffice-3/files/patch-libxslt
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2012-02-13 00:53:20 +0000
committerMaho Nakata <maho@FreeBSD.org>2012-02-13 00:53:20 +0000
commit5d20f97ef4f46eb7a1a26bcf2bbfb2d74591bd8e (patch)
tree6e7256226db2d9823915394bd97f76272c4aa63d /editors/openoffice-3/files/patch-libxslt
parent- Update to 2.01 (diff)
Fix on 10-CURRENT: defining POSIX_SOURCE now
hides the locale_t definition. Submitted by: truckman@
Notes
Notes: svn path=/head/; revision=291102
Diffstat (limited to '')
-rw-r--r--editors/openoffice-3/files/patch-libxslt25
1 files changed, 25 insertions, 0 deletions
diff --git a/editors/openoffice-3/files/patch-libxslt b/editors/openoffice-3/files/patch-libxslt
new file mode 100644
index 000000000000..9a2824d458c2
--- /dev/null
+++ b/editors/openoffice-3/files/patch-libxslt
@@ -0,0 +1,25 @@
+--- /dev/null 2012-02-11 16:33:00.000000000 -0800
++++ libxslt/libxslt-libexslt-date_c.patch 2012-02-11 16:40:50.000000000 -0800
+@@ -0,0 +1,11 @@
++--- misc/build/libxslt-1.1.26/libexslt/date.c.orig 2009-09-17 07:51:10.000000000 -0700
+++++ misc/build/libxslt-1.1.26/libexslt/date.c 2012-02-11 16:40:48.000000000 -0800
++@@ -29,7 +29,7 @@
++ #endif
++
++ #if HAVE_LOCALTIME_R /* _POSIX_SOURCE required by gnu libc */
++-#ifndef _AIX51 /* but on AIX we're not using gnu libc */
+++#if !defined(_AIX51) && !defined(__FreeBSD__) /* but on AIX or FreeBSD we're not using gnu libc */
++ #define _POSIX_SOURCE
++ #endif
++ #endif
+--- libxslt/makefile.mk.orig 2011-01-18 05:34:25.000000000 -0800
++++ libxslt/makefile.mk 2012-02-11 22:25:14.000000000 -0800
+@@ -55,6 +55,7 @@
+ PATCH_FILES=libxslt-configure.patch \
+ libxslt-win_manifest.patch \
+ libxslt-mingw.patch \
++ libxslt-libexslt-date_c.patch \
+ libxslt-internal-symbols.patch
+
+
+