- glibc-2.24-libcxx.patch: fix libcxx testsuite for glibc 2.24 OBS-URL: https://build.opensuse.org/request/show/408448 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=460
23 lines
1.0 KiB
Diff
23 lines
1.0 KiB
Diff
Index: libcxx-3.8.0.src/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp
|
|
===================================================================
|
|
--- libcxx-3.8.0.src/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp.orig
|
|
+++ libcxx-3.8.0.src/test/std/localization/locale.categories/category.monetary/locale.moneypunct.byname/curr_symbol.pass.cpp
|
|
@@ -113,7 +113,7 @@ int main()
|
|
|
|
{
|
|
Fnf f(LOCALE_ru_RU_UTF_8, 1);
|
|
- assert(f.curr_symbol() == " \xD1\x80\xD1\x83\xD0\xB1");
|
|
+ assert(f.curr_symbol() == " \xD1\x80\xD1\x83\xD0\xB1" || f.curr_symbol() == " \u20bd");
|
|
}
|
|
{
|
|
Fnt f(LOCALE_ru_RU_UTF_8, 1);
|
|
@@ -121,7 +121,7 @@ int main()
|
|
}
|
|
{
|
|
Fwf f(LOCALE_ru_RU_UTF_8, 1);
|
|
- assert(f.curr_symbol() == L" \x440\x443\x431");
|
|
+ assert(f.curr_symbol() == L" \x440\x443\x431" || f.curr_symbol() == L" \u20bd");
|
|
}
|
|
{
|
|
Fwt f(LOCALE_ru_RU_UTF_8, 1);
|