- update to 71.1: * updates to CLDR 41 locale data with various additions and corrections. * phrase-based line breaking for Japanese. Existing line breaking methods follow standards and conventions for body text but do not work well for short Japanese text, such as in titles and headings. This new feature is optimized for these use cases. * support for Hindi written in Latin letters (hi_Latn). The CLDR data for this increasingly popular locale has been significantly revised and expanded. Note that based on user expectations, hi_Latn incorporates a large amount of English, and can also be referred to as “Hinglish”. * time zone data updated to version 2022a. Note that pre-1970 data for a number of time zones has been removed, as has been the case in the upstream tzdata release since 2021b. - drop fix-ucptrietest-golden-diff.patch (upstream) OBS-URL: https://build.opensuse.org/request/show/968076 OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/icu?expand=0&rev=155
34 lines
1.5 KiB
Diff
34 lines
1.5 KiB
Diff
From: rguenther@suse.com
|
|
References: http://bugzilla.opensuse.org/1030253
|
|
|
|
Avoid FixedPrecision::initVisibleDigits failure on i586 with GCC 7.
|
|
|
|
---
|
|
source/test/intltest/dcfmapts.cpp | 6 ++++--
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
Index: icu/source/test/intltest/dcfmapts.cpp
|
|
===================================================================
|
|
--- icu.orig/source/test/intltest/dcfmapts.cpp
|
|
+++ icu/source/test/intltest/dcfmapts.cpp
|
|
@@ -875,7 +875,8 @@ void IntlTestDecimalFormatAPI::TestFixed
|
|
ASSERT_EQUAL(22, fd.getPluralOperand(PLURAL_OPERAND_V));
|
|
ASSERT_EQUAL(1234567890123456789LL, fd.getPluralOperand(PLURAL_OPERAND_F));
|
|
ASSERT_EQUAL(1234567890123456789LL, fd.getPluralOperand(PLURAL_OPERAND_T));
|
|
- ASSERT_EQUAL(345678901234567890LL, fd.getPluralOperand(PLURAL_OPERAND_I));
|
|
+ volatile double xxa = fd.getPluralOperand(PLURAL_OPERAND_I);
|
|
+ ASSERT_EQUAL(345678901234567890LL, xxa);
|
|
ASSERT_EQUAL(FALSE, fd.hasIntegerValue());
|
|
ASSERT_EQUAL(FALSE, fd.isNegative());
|
|
|
|
@@ -970,7 +971,8 @@ void IntlTestDecimalFormatAPI::TestFixed
|
|
ASSERT_EQUAL(0, fd.getPluralOperand(PLURAL_OPERAND_T));
|
|
// note: going through DigitList path to FixedDecimal, which is trimming
|
|
// int64_t fields to 18 digits. See ticket Ticket #10374
|
|
- ASSERT_EQUAL(223372036854775807LL, fd.getPluralOperand(PLURAL_OPERAND_I));
|
|
+ volatile double xxb = fd.getPluralOperand(PLURAL_OPERAND_I);
|
|
+ ASSERT_EQUAL(223372036854775807LL, xxb);
|
|
ASSERT_EQUAL(TRUE, fd.hasIntegerValue());
|
|
ASSERT_EQUAL(FALSE, fd.isNegative());
|
|
|