summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/TLPATCHES/patch-14-xopen
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-02-13 18:43:14 +0000
committerKarl Berry <karl@freefriends.org>2017-02-13 18:43:14 +0000
commit5ef2fb04a27cd5ef7c85fbefec889b2503259290 (patch)
tree5d213e7091d68bc4226e68d6ad83ffc774dfe370 /Build/source/libs/icu/TLPATCHES/patch-14-xopen
parentcdedcff919defc8bac478adf4411c495e08ccd25 (diff)
rename foo/foo-PATCHES to foo/TLPATCHES for better completion
git-svn-id: svn://tug.org/texlive/trunk@43212 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/icu/TLPATCHES/patch-14-xopen')
-rw-r--r--Build/source/libs/icu/TLPATCHES/patch-14-xopen19
1 files changed, 19 insertions, 0 deletions
diff --git a/Build/source/libs/icu/TLPATCHES/patch-14-xopen b/Build/source/libs/icu/TLPATCHES/patch-14-xopen
new file mode 100644
index 00000000000..6ccb6564407
--- /dev/null
+++ b/Build/source/libs/icu/TLPATCHES/patch-14-xopen
@@ -0,0 +1,19 @@
+ Do not define _XOPEN_SOURCE_EXTENDED on Solaris,
+ notwithstanding comments in icu source.
+
+--- source/common/uposixdefs.h (revision 40154)
++++ source/common/uposixdefs.h (working copy)
+@@ -49,10 +49,13 @@
+ * 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)
++#if !defined(_XOPEN_SOURCE_EXTENDED) && !defined(__sun)
+ # define _XOPEN_SOURCE_EXTENDED 1
+ #endif