From 743f3bf40bc7564ebd8d846ca8f8abb6a6750630aea659ae5ffbeb9d0c27100e Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 31 Jul 2017 12:24:19 +0000 Subject: [PATCH] Accepting request 513173 from home:Andreas_Schwab:glibc:rebuild - xlocale.patch: don't use obsolete OBS-URL: https://build.opensuse.org/request/show/513173 OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/icu?expand=0&rev=78 --- icu.changes | 5 +++++ icu.spec | 2 ++ xlocale.patch | 17 +++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 xlocale.patch diff --git a/icu.changes b/icu.changes index eb9b68a..2cb7157 100644 --- a/icu.changes +++ b/icu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 5 10:08:40 UTC 2017 - schwab@suse.de + +- xlocale.patch: don't use obsolete + ------------------------------------------------------------------- Wed May 17 11:14:47 UTC 2017 - rguenther@suse.com diff --git a/icu.spec b/icu.spec index 4e7aa5a..8e1116f 100644 --- a/icu.spec +++ b/icu.spec @@ -38,6 +38,7 @@ Patch3: icu-versioning.diff Patch4: icu-fix-install-mode-files.diff Patch6: icu-error-reporting.diff Patch7: icu-avoid-x87-excess-precision.diff +Patch8: xlocale.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: pkg-config @@ -159,6 +160,7 @@ cd .. %patch -P 3 -P 4 -P 6 -p1 %patch7 +%patch8 -p1 %build cd source diff --git a/xlocale.patch b/xlocale.patch new file mode 100644 index 0000000..8b04c53 --- /dev/null +++ b/xlocale.patch @@ -0,0 +1,17 @@ +Index: icu/source/i18n/digitlst.cpp +=================================================================== +--- icu.orig/source/i18n/digitlst.cpp ++++ icu/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 +-# else +-# include +-# endif ++# include + #endif + + // ***************************************************************************