mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
icu: Fix build with glibc 2.26
(From OE-Core rev: 8906f4dd8e47dbe075125767390f4351a81ae571) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -0,0 +1,31 @@
|
|||||||
|
From c4254fd8ff1888ca285e3242b812010357ce2b3e 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] i18n: Drop include <xlocale.h>
|
||||||
|
|
||||||
|
glibc 2.26 drops this header
|
||||||
|
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
Upstream-Status: Pending
|
||||||
|
|
||||||
|
i18n/digitlst.cpp | 6 +-----
|
||||||
|
1 file changed, 1 insertion(+), 5 deletions(-)
|
||||||
|
|
||||||
|
Index: source/i18n/digitlst.cpp
|
||||||
|
===================================================================
|
||||||
|
--- source.orig/i18n/digitlst.cpp
|
||||||
|
+++ source/i18n/digitlst.cpp
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
// ***************************************************************************
|
||||||
@@ -16,7 +16,8 @@ BASE_SRC_URI = "http://download.icu-project.org/files/icu4c/${PV}/icu4c-${ICU_PV
|
|||||||
SRC_URI = "${BASE_SRC_URI} \
|
SRC_URI = "${BASE_SRC_URI} \
|
||||||
file://icu-pkgdata-large-cmd.patch \
|
file://icu-pkgdata-large-cmd.patch \
|
||||||
file://fix-install-manx.patch \
|
file://fix-install-manx.patch \
|
||||||
"
|
file://0001-i18n-Drop-include-xlocale.h.patch \
|
||||||
|
"
|
||||||
|
|
||||||
SRC_URI_append_class-target = "\
|
SRC_URI_append_class-target = "\
|
||||||
file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
|
file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
|
||||||
|
|||||||
Reference in New Issue
Block a user