summaryrefslogtreecommitdiff
path: root/Build/source/libs
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-03 21:11:06 +0000
committerKarl Berry <karl@freefriends.org>2013-04-03 21:11:06 +0000
commit468eea0eb33931fe091488c5e5219d8721675203 (patch)
treee1b57b0faccf4c1b41476c0407dd594546423167 /Build/source/libs
parent8bffcaa633c32a7711f5cf1b5b601abe43127e57 (diff)
do not define _XOPEN_SOURCE_EXTENDED on Solaris
git-svn-id: svn://tug.org/texlive/trunk@29627 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs')
-rw-r--r--Build/source/libs/icu/icu-51.1-PATCHES/ChangeLog6
-rw-r--r--Build/source/libs/icu/icu-51.1-PATCHES/patch-14-xopen20
-rw-r--r--Build/source/libs/icu/icu-51.1/source/common/uposixdefs.h5
3 files changed, 31 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-51.1-PATCHES/ChangeLog b/Build/source/libs/icu/icu-51.1-PATCHES/ChangeLog
index 950da0c447e..da201779223 100644
--- a/Build/source/libs/icu/icu-51.1-PATCHES/ChangeLog
+++ b/Build/source/libs/icu/icu-51.1-PATCHES/ChangeLog
@@ -1,3 +1,9 @@
+2013-04-02 Karl Berry <karl@tug.org>
+
+ * patch-14-xopen: do not define _XOPEN_SOURCE_EXTENDED on Solaris,
+ notwithstanding comments in icu source.
+ From Apostolos, tlbuild 27 Mar 2013 15:52:26 (and Ettore, later).
+
2013-03-21 Peter Breitenlohner <peb@mppmu.mpg.de>
Updated icu-51.1 source tree (icu4c-51_1-src.tgz) from:
diff --git a/Build/source/libs/icu/icu-51.1-PATCHES/patch-14-xopen b/Build/source/libs/icu/icu-51.1-PATCHES/patch-14-xopen
new file mode 100644
index 00000000000..178a64c3778
--- /dev/null
+++ b/Build/source/libs/icu/icu-51.1-PATCHES/patch-14-xopen
@@ -0,0 +1,20 @@
+--- uposixdefs.h (revision 29587)
++++ uposixdefs.h (working copy)
+@@ -49,12 +49,17 @@
+ * Make sure things like readlink and such functions work.
+ * Poorly upgraded Solaris machines can't have this defined.
+ * Cleanly installed Solaris can use this #define.
++ * [Experience with TeX Live is that it always causes failure.
++ * http://tug.org/pipermail/tlbuild/2013q1/002493.html
++ * http://tug.org/pipermail/tlbuild/2013q1/002536.html ]
+ *
+ * z/OS needs this definition for timeval and to get usleep.
+ */
+ #if !defined(_XOPEN_SOURCE_EXTENDED)
++#ifndef __sun
+ # define _XOPEN_SOURCE_EXTENDED 1
+ #endif
++#endif
+
+ /*
+ * There is an issue with turning on _XOPEN_SOURCE_EXTENDED on certain platforms.
diff --git a/Build/source/libs/icu/icu-51.1/source/common/uposixdefs.h b/Build/source/libs/icu/icu-51.1/source/common/uposixdefs.h
index bd64d91abef..8344ce37385 100644
--- a/Build/source/libs/icu/icu-51.1/source/common/uposixdefs.h
+++ b/Build/source/libs/icu/icu-51.1/source/common/uposixdefs.h
@@ -49,12 +49,17 @@
* Make sure things like readlink and such functions work.
* Poorly upgraded Solaris machines can't have this defined.
* Cleanly installed Solaris can use this #define.
+ * [Experience with TeX Live is that it always causes failure.
+ * http://tug.org/pipermail/tlbuild/2013q1/002493.html
+ * http://tug.org/pipermail/tlbuild/2013q1/002536.html ]
*
* z/OS needs this definition for timeval and to get usleep.
*/
#if !defined(_XOPEN_SOURCE_EXTENDED)
+#ifndef __sun
# define _XOPEN_SOURCE_EXTENDED 1
#endif
+#endif
/*
* There is an issue with turning on _XOPEN_SOURCE_EXTENDED on certain platforms.