Hello community,

here is the log from the commit of package icu for openSUSE:Factory checked in 
at 2020-02-29 21:18:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/icu (Old)
 and      /work/SRC/openSUSE:Factory/.icu.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "icu"

Sat Feb 29 21:18:44 2020 rev:72 rq:779018 version:65.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/icu/icu.changes  2020-01-16 18:17:27.340846346 
+0100
+++ /work/SRC/openSUSE:Factory/.icu.new.26092/icu.changes       2020-02-29 
21:18:47.266039492 +0100
@@ -1,0 +2,5 @@
+Tue Feb 25 10:29:50 UTC 2020 - Jan Engelhardt <[email protected]>
+
+- Add locale.diff [boo#1162882]
+
+-------------------------------------------------------------------

New:
----
  locale.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ icu.spec ++++++
--- /var/tmp/diff_new_pack.lW3QUi/_old  2020-02-29 21:18:48.558038874 +0100
+++ /var/tmp/diff_new_pack.lW3QUi/_new  2020-02-29 21:18:48.562038872 +0100
@@ -45,6 +45,7 @@
 Patch4:         icu-fix-install-mode-files.diff
 Patch6:         icu-error-reporting.diff
 Patch7:         icu-avoid-x87-excess-precision.diff
+Patch8:         locale.diff
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  pkg-config





++++++ locale.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
@@ -1543,7 +1543,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')) {

Reply via email to