summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-02-10 14:15:47 -0800
committerMartin Jansa <Martin.Jansa@gmail.com>2021-02-16 11:36:20 +0100
commit8d296a0b708a1173b3e1266cb57edd3b4e1f5375 (patch)
tree41ec608416cea44bc906135f7b34bb1affd8c6bf
parenta670f76c59f38eaad05d9fa1406cc9dfb2f08b64 (diff)
downloadopenembedded-core-contrib-8d296a0b708a1173b3e1266cb57edd3b4e1f5375.tar.gz
icu: refresh patches
-rw-r--r--meta/recipes-support/icu/icu/0001-icu-fix-install-race.patch (renamed from meta/recipes-support/icu/icu/fix-install-manx.patch)7
-rw-r--r--meta/recipes-support/icu/icu/0002-icu-Added-armeb-support.patch (renamed from meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch)9
-rw-r--r--meta/recipes-support/icu/icu/0003-ICU-20958-Prevent-SEGV_MAPERR-in-append.patch (renamed from meta/recipes-support/icu/icu/CVE-2020-10531.patch)16
-rw-r--r--meta/recipes-support/icu/icu/0005-ICU-21015-Fixing-gcc-compiler-warnings.patch2
-rw-r--r--meta/recipes-support/icu/icu/0006-ICU-21001-Fixing-problems-found-by-running-valgrind.patch2
-rw-r--r--meta/recipes-support/icu/icu/0007-ICU-21026-fix-GCC-warnings-of-signed-int-left-shift.patch2
-rw-r--r--meta/recipes-support/icu/icu/0008-Disable-LDFLAGSICUDT-for-Linux.patch (renamed from meta/recipes-support/icu/icu/0001-Disable-LDFLAGSICUDT-for-Linux.patch)11
-rw-r--r--meta/recipes-support/icu/icu_66.1.bb8
8 files changed, 23 insertions, 34 deletions
diff --git a/meta/recipes-support/icu/icu/fix-install-manx.patch b/meta/recipes-support/icu/icu/0001-icu-fix-install-race.patch
index 925b064ebd..03663944b3 100644
--- a/meta/recipes-support/icu/icu/fix-install-manx.patch
+++ b/meta/recipes-support/icu/icu/0001-icu-fix-install-race.patch
@@ -1,4 +1,4 @@
-From a6ddabc8cadb76bfe2d2e374a6702442cfe51cce Mon Sep 17 00:00:00 2001
+From 1c7174493fdf897680957cfa9e7fd2568bb2a930 Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@intel.com>
Date: Fri, 9 Oct 2015 17:50:41 +0100
Subject: [PATCH] icu: fix install race
@@ -13,13 +13,12 @@ in the install command.
Upstream-Status: Pending
Signed-off-by: Ross Burton <ross.burton@intel.com>
-
---
- source/Makefile.in | 8 ++++----
+ Makefile.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile.in b/Makefile.in
-index be9435b..ada20d7 100644
+index be9435ba95..ada20d7809 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -77,7 +77,7 @@ EXTRA_DATA =
diff --git a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch b/meta/recipes-support/icu/icu/0002-icu-Added-armeb-support.patch
index 299689d95c..adae928f49 100644
--- a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
+++ b/meta/recipes-support/icu/icu/0002-icu-Added-armeb-support.patch
@@ -1,4 +1,4 @@
-From 500321387ceca48934bb0f323779117cd518bab6 Mon Sep 17 00:00:00 2001
+From cd245b86841be7466d67796f50b84e67194efedd Mon Sep 17 00:00:00 2001
From: Lei Maohui <leimaohui@cn.fujitsu.com>
Date: Wed, 8 May 2019 14:42:30 +0900
Subject: [PATCH] icu: Added armeb support.
@@ -13,10 +13,10 @@ Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/i18n/double-conversion-utils.h b/i18n/double-conversion-utils.h
-index 1e44fca..e4f2a8b 100644
+index 099298460c..5a0993febe 100644
--- a/i18n/double-conversion-utils.h
+++ b/i18n/double-conversion-utils.h
-@@ -92,7 +92,7 @@ int main(int argc, char** argv) {
+@@ -101,7 +101,7 @@ int main(int argc, char** argv) {
//
// If it prints "correct" then the architecture should be here, in the "correct" section.
#if defined(_M_X64) || defined(__x86_64__) || \
@@ -25,6 +25,3 @@ index 1e44fca..e4f2a8b 100644
defined(__hppa__) || defined(__ia64__) || \
defined(__mips__) || \
defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
---
-2.7.4
-
diff --git a/meta/recipes-support/icu/icu/CVE-2020-10531.patch b/meta/recipes-support/icu/icu/0003-ICU-20958-Prevent-SEGV_MAPERR-in-append.patch
index 6697b27dc8..0c0523b964 100644
--- a/meta/recipes-support/icu/icu/CVE-2020-10531.patch
+++ b/meta/recipes-support/icu/icu/0003-ICU-20958-Prevent-SEGV_MAPERR-in-append.patch
@@ -1,4 +1,4 @@
-From b7d08bc04a4296982fcef8b6b8a354a9e4e7afca Mon Sep 17 00:00:00 2001
+From b6ee819ed4e68cfb2abb7964546f8f96789fa415 Mon Sep 17 00:00:00 2001
From: Frank Tang <ftang@chromium.org>
Date: Sat, 1 Feb 2020 02:39:04 +0000
Subject: [PATCH] ICU-20958 Prevent SEGV_MAPERR in append
@@ -10,15 +10,14 @@ CVE: CVE-2020-10531
Reference to upstream patch:
https://github.com/unicode-org/icu/commit/b7d08bc04a4296982fcef8b6b8a354a9e4e7afca
-
---
common/unistr.cpp | 6 ++-
- test/intltest/ustrtest.cpp | 62 +++++++++++++++++++++++++++++++
+ test/intltest/ustrtest.cpp | 62 +++++++++++++++++++++++++
test/intltest/ustrtest.h | 1 +
3 files changed, 68 insertions(+), 1 deletion(-)
diff --git a/common/unistr.cpp b/common/unistr.cpp
-index 901bb33..6ea0915 100644
+index 901bb3358b..6ea09150ca 100644
--- a/common/unistr.cpp
+++ b/common/unistr.cpp
@@ -1563,7 +1563,11 @@ UnicodeString::doAppend(const UChar *srcChars, int32_t srcStart, int32_t srcLeng
@@ -35,7 +34,7 @@ index 901bb33..6ea0915 100644
// Check for append onto ourself
const UChar* oldArray = getArrayStart();
diff --git a/test/intltest/ustrtest.cpp b/test/intltest/ustrtest.cpp
-index b6515ea..ad38bdf 100644
+index b6515ea813..ad38bdf53a 100644
--- a/test/intltest/ustrtest.cpp
+++ b/test/intltest/ustrtest.cpp
@@ -67,6 +67,7 @@ void UnicodeStringTest::runIndexedTest( int32_t index, UBool exec, const char* &
@@ -112,10 +111,10 @@ index b6515ea..ad38bdf 100644
+ }
+}
diff --git a/test/intltest/ustrtest.h b/test/intltest/ustrtest.h
-index 218befd..4a356a9 100644
+index 218befdcc6..4a356a92c7 100644
--- a/test/intltest/ustrtest.h
+++ b/test/intltest/ustrtest.h
-@@ -97,6 +97,7 @@ public:
+@@ -97,6 +97,7 @@ class UnicodeStringTest: public IntlTest {
void TestWCharPointers();
void TestNullPointers();
void TestUnicodeStringInsertAppendToSelf();
@@ -123,6 +122,3 @@ index 218befd..4a356a9 100644
};
#endif
---
-2.17.1
-
diff --git a/meta/recipes-support/icu/icu/0005-ICU-21015-Fixing-gcc-compiler-warnings.patch b/meta/recipes-support/icu/icu/0005-ICU-21015-Fixing-gcc-compiler-warnings.patch
index 1849f67ac3..fb77ad6715 100644
--- a/meta/recipes-support/icu/icu/0005-ICU-21015-Fixing-gcc-compiler-warnings.patch
+++ b/meta/recipes-support/icu/icu/0005-ICU-21015-Fixing-gcc-compiler-warnings.patch
@@ -1,4 +1,4 @@
-From a2dc2884923ffc1121367d9e6be08e6d1a1f4364 Mon Sep 17 00:00:00 2001
+From c986e29444aafa229105bc50277eeedd9f0beaca Mon Sep 17 00:00:00 2001
From: "Shane F. Carr" <shane@unicode.org>
Date: Mon, 30 Mar 2020 22:21:24 -0500
Subject: [PATCH] ICU-21015 Fixing gcc compiler warnings
diff --git a/meta/recipes-support/icu/icu/0006-ICU-21001-Fixing-problems-found-by-running-valgrind.patch b/meta/recipes-support/icu/icu/0006-ICU-21001-Fixing-problems-found-by-running-valgrind.patch
index bf14fe02d7..d44d98d2aa 100644
--- a/meta/recipes-support/icu/icu/0006-ICU-21001-Fixing-problems-found-by-running-valgrind.patch
+++ b/meta/recipes-support/icu/icu/0006-ICU-21001-Fixing-problems-found-by-running-valgrind.patch
@@ -1,4 +1,4 @@
-From c7a86358271e33e38445d321e642c49210d443af Mon Sep 17 00:00:00 2001
+From f0f789a106dbdcd51a420e22476f29545be01879 Mon Sep 17 00:00:00 2001
From: Jeff Genovy <29107334+jefgen@users.noreply.github.com>
Date: Tue, 3 Mar 2020 00:44:59 -0800
Subject: [PATCH] ICU-21001 Fixing problems found by running valgrind.
diff --git a/meta/recipes-support/icu/icu/0007-ICU-21026-fix-GCC-warnings-of-signed-int-left-shift.patch b/meta/recipes-support/icu/icu/0007-ICU-21026-fix-GCC-warnings-of-signed-int-left-shift.patch
index 952489bc87..31a83348da 100644
--- a/meta/recipes-support/icu/icu/0007-ICU-21026-fix-GCC-warnings-of-signed-int-left-shift.patch
+++ b/meta/recipes-support/icu/icu/0007-ICU-21026-fix-GCC-warnings-of-signed-int-left-shift.patch
@@ -1,4 +1,4 @@
-From b5ff5641519893c7c57c8663a010442a0af9eff5 Mon Sep 17 00:00:00 2001
+From 7bf0bdf668ec73809f36881f6e174a84509be9b5 Mon Sep 17 00:00:00 2001
From: Elango Cheran <elango@google.com>
Date: Thu, 26 Mar 2020 14:21:26 -0700
Subject: [PATCH] ICU-21026 fix GCC warnings of signed-int left shift
diff --git a/meta/recipes-support/icu/icu/0001-Disable-LDFLAGSICUDT-for-Linux.patch b/meta/recipes-support/icu/icu/0008-Disable-LDFLAGSICUDT-for-Linux.patch
index 2968d571bb..c858c892a0 100644
--- a/meta/recipes-support/icu/icu/0001-Disable-LDFLAGSICUDT-for-Linux.patch
+++ b/meta/recipes-support/icu/icu/0008-Disable-LDFLAGSICUDT-for-Linux.patch
@@ -1,4 +1,4 @@
-From 0c82d6aa02c08e41b13c83b14782bd7024e25d59 Mon Sep 17 00:00:00 2001
+From 82517d840fb57c1d2941ff47a0af48caf83219d1 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 15 Feb 2014 21:06:42 +0000
Subject: [PATCH] Disable LDFLAGSICUDT for Linux
@@ -7,14 +7,14 @@ Upstream-Status: Inappropriate [ OE Configuration ]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
- source/config/mh-linux | 2 +-
+ config/mh-linux | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/mh-linux b/config/mh-linux
-index 366f0cc..2689aab 100644
+index 53d6780d68..b6225137e6 100644
--- a/config/mh-linux
+++ b/config/mh-linux
-@@ -21,7 +21,7 @@ LD_RPATH= -Wl,-zorigin,-rpath,'$$'ORIGIN
+@@ -23,7 +23,7 @@ LD_RPATH= -Wl,-zorigin,-rpath,'$$'ORIGIN
LD_RPATH_PRE = -Wl,-rpath,
## These are the library specific LDFLAGS
@@ -23,6 +23,3 @@ index 366f0cc..2689aab 100644
## Compiler switch to embed a library name
# The initial tab in the next line is to prevent icu-config from reading it.
---
-1.7.10.4
-
diff --git a/meta/recipes-support/icu/icu_66.1.bb b/meta/recipes-support/icu/icu_66.1.bb
index 6b69cb9700..89f5ead40e 100644
--- a/meta/recipes-support/icu/icu_66.1.bb
+++ b/meta/recipes-support/icu/icu_66.1.bb
@@ -24,16 +24,16 @@ SRC_URI = "${BASE_SRC_URI};name=code \
file://0001-Fix-big-endian-build.patch;patchdir=${WORKDIR} \
file://0002-ICU-21175-Add-cnvalias-as-a-dependency-of-misc_res.patch;patchdir=${WORKDIR} \
file://filter.json \
- file://fix-install-manx.patch \
- file://0001-icu-Added-armeb-support.patch \
- file://CVE-2020-10531.patch \
+ file://0001-icu-fix-install-race.patch \
+ file://0002-icu-Added-armeb-support.patch \
+ file://0003-ICU-20958-Prevent-SEGV_MAPERR-in-append.patch \
file://0005-ICU-21015-Fixing-gcc-compiler-warnings.patch \
file://0006-ICU-21001-Fixing-problems-found-by-running-valgrind.patch \
file://0007-ICU-21026-fix-GCC-warnings-of-signed-int-left-shift.patch \
"
SRC_URI_append_class-target = "\
- file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
+ file://0008-Disable-LDFLAGSICUDT-for-Linux.patch \
"
SRC_URI[code.sha256sum] = "52a3f2209ab95559c1cf0a14f24338001f389615bf00e2585ef3dbc43ecf0a2e"
SRC_URI[data.sha256sum] = "8be647f738891d2beb79d48f99077b3499948430eae6f1be112553b15ab0243e"