Accepting request 513173 from home:Andreas_Schwab:glibc:rebuild
- xlocale.patch: don't use obsolete <xlocale.h> 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
This commit is contained in:
parent
f65b1d29de
commit
743f3bf40b
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 5 10:08:40 UTC 2017 - schwab@suse.de
|
||||
|
||||
- xlocale.patch: don't use obsolete <xlocale.h>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 17 11:14:47 UTC 2017 - rguenther@suse.com
|
||||
|
||||
|
2
icu.spec
2
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
|
||||
|
17
xlocale.patch
Normal file
17
xlocale.patch
Normal file
@ -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 <locale.h>
|
||||
-# else
|
||||
-# include <xlocale.h>
|
||||
-# endif
|
||||
+# include <locale.h>
|
||||
#endif
|
||||
|
||||
// ***************************************************************************
|
Loading…
Reference in New Issue
Block a user