summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/icu-layoutex/files/icu-58.2-glibc226.patch16
-rw-r--r--dev-libs/icu-layoutex/icu-layoutex-58.2-r1.ebuild (renamed from dev-libs/icu-layoutex/icu-layoutex-58.2.ebuild)1
2 files changed, 17 insertions, 0 deletions
diff --git a/dev-libs/icu-layoutex/files/icu-58.2-glibc226.patch b/dev-libs/icu-layoutex/files/icu-58.2-glibc226.patch
new file mode 100644
index 00000000..7003173a
--- /dev/null
+++ b/dev-libs/icu-layoutex/files/icu-58.2-glibc226.patch
@@ -0,0 +1,16 @@
+diff -ruN a/i18n/digitlst.cpp b/i18n/digitlst.cpp
+--- a/i18n/digitlst.cpp 2016-10-27 01:37:56.000000000 -0000
++++ b/i18n/digitlst.cpp 2017-09-21 20:39:29.873030393 -0000
+@@ -61,11 +61,7 @@
+ #endif
+
+ #if U_USE_STRTOD_L
+-# if U_PLATFORM_USES_ONLY_WIN32_API || U_PLATFORM == U_PF_CYGWIN
+-# include <locale.h>
+-# else
+-# include <xlocale.h>
+-# endif
++# include <locale.h>
+ #endif
+
+ // ***************************************************************************
diff --git a/dev-libs/icu-layoutex/icu-layoutex-58.2.ebuild b/dev-libs/icu-layoutex/icu-layoutex-58.2-r1.ebuild
index 92aedc3c..b393329f 100644
--- a/dev-libs/icu-layoutex/icu-layoutex-58.2.ebuild
+++ b/dev-libs/icu-layoutex/icu-layoutex-58.2-r1.ebuild
@@ -30,6 +30,7 @@ S="${WORKDIR}/${PN/-layoutex}/source"
PATCHES=(
"${FILESDIR}/${PN}-58.1-remove-bashisms.patch"
+ "${FILESDIR}/icu-${PV}-glibc226.patch"
)
src_prepare() {