summaryrefslogtreecommitdiffstats
path: root/poky/meta/recipes-support/icu/icu/0001-i18n-Drop-include-xlocale.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'poky/meta/recipes-support/icu/icu/0001-i18n-Drop-include-xlocale.h.patch')
-rw-r--r--poky/meta/recipes-support/icu/icu/0001-i18n-Drop-include-xlocale.h.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/poky/meta/recipes-support/icu/icu/0001-i18n-Drop-include-xlocale.h.patch b/poky/meta/recipes-support/icu/icu/0001-i18n-Drop-include-xlocale.h.patch
new file mode 100644
index 000000000..f0c49e197
--- /dev/null
+++ b/poky/meta/recipes-support/icu/icu/0001-i18n-Drop-include-xlocale.h.patch
@@ -0,0 +1,34 @@
+From d6b57c1b4eb9a24d9d95342a961c93946539c93b Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sat, 24 Jun 2017 22:52:40 -0700
+Subject: [PATCH 3/4] i18n: Drop include <xlocale.h>
+
+glibc 2.26 drops this header
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+---
+ source/i18n/digitlst.cpp | 6 +-----
+ 1 file changed, 1 insertion(+), 5 deletions(-)
+
+diff --git a/source/i18n/digitlst.cpp b/source/i18n/digitlst.cpp
+index 8e86fa7..0bdbb2c 100644
+--- a/i18n/digitlst.cpp
++++ b/i18n/digitlst.cpp
+@@ -62,11 +62,7 @@
+ #endif
+
+ #if U_USE_STRTOD_L
+-# if U_HAVE_XLOCALE_H
+-# include <xlocale.h>
+-# else
+-# include <locale.h>
+-# endif
++# include <locale.h>
+ #endif
+
+ // ***************************************************************************
+--
+2.14.2
+
OpenPOWER on IntegriCloud