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 + + // ***************************************************************************