Jan Engelhardt
53923606b4
- 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
21 lines
870 B
Diff
21 lines
870 B
Diff
Execute POSIX behavior not just on Solaris but all POSIX platforms.
|
|
|
|
References: https://bugzilla.opensuse.org/1162882
|
|
---
|
|
source/common/putil.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: icu/source/common/putil.cpp
|
|
===================================================================
|
|
--- icu.orig/source/common/putil.cpp
|
|
+++ icu/source/common/putil.cpp
|
|
@@ -1616,7 +1616,7 @@ static const char *uprv_getPOSIXIDForCat
|
|
/* Solaris speaks POSIX - See IEEE Std 1003.1-2008
|
|
* This is needed to properly handle empty env. variables
|
|
*/
|
|
-#if U_PLATFORM == U_PF_SOLARIS
|
|
+#if U_PLATFORM_IMPLEMENTS_POSIX
|
|
if ((posixID == 0) || (posixID[0] == '\0')) {
|
|
posixID = getenv(category == LC_MESSAGES ? "LC_MESSAGES" : "LC_CTYPE");
|
|
if ((posixID == 0) || (posixID[0] == '\0')) {
|