summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/icu
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-11-14 16:57:49 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-30 10:49:22 +0000
commit7c71c15b9fa3dc840007792b70b1c4ec664ef1d5 (patch)
tree2a24fc032714aafecb0024126dc675b0f8ff7d72 /meta/recipes-support/icu
parentd4102074035c708b04792a02e5d9bbcc9ee4a0af (diff)
downloadpoky-7c71c15b9fa3dc840007792b70b1c4ec664ef1d5.tar.gz
icu: update to 60.1
Rebase a couple of patches. LICENSE checksum change due to typo fix. (From OE-Core rev: d4a76a51762d094d6f4fc016c52a6817c7f92637) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/icu')
-rw-r--r--meta/recipes-support/icu/icu/0001-i18n-Drop-include-xlocale.h.patch28
-rw-r--r--meta/recipes-support/icu/icu/CVE-2017-14952.patch28
-rw-r--r--meta/recipes-support/icu/icu/fix-install-manx.patch25
-rw-r--r--meta/recipes-support/icu/icu_60.1.bb (renamed from meta/recipes-support/icu/icu_59.1.bb)7
4 files changed, 35 insertions, 53 deletions
diff --git a/meta/recipes-support/icu/icu/0001-i18n-Drop-include-xlocale.h.patch b/meta/recipes-support/icu/icu/0001-i18n-Drop-include-xlocale.h.patch
index add0d765b7..0c61893d7c 100644
--- a/meta/recipes-support/icu/icu/0001-i18n-Drop-include-xlocale.h.patch
+++ b/meta/recipes-support/icu/icu/0001-i18n-Drop-include-xlocale.h.patch
@@ -1,31 +1,33 @@
1From c4254fd8ff1888ca285e3242b812010357ce2b3e Mon Sep 17 00:00:00 2001 1From d6b57c1b4eb9a24d9d95342a961c93946539c93b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 24 Jun 2017 22:52:40 -0700 3Date: Sat, 24 Jun 2017 22:52:40 -0700
4Subject: [PATCH] i18n: Drop include <xlocale.h> 4Subject: [PATCH 3/4] i18n: Drop include <xlocale.h>
5 5
6glibc 2.26 drops this header 6glibc 2.26 drops this header
7 7
8Signed-off-by: Khem Raj <raj.khem@gmail.com> 8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10Upstream-Status: Pending
11 9
12 i18n/digitlst.cpp | 6 +----- 10---
11 source/i18n/digitlst.cpp | 6 +-----
13 1 file changed, 1 insertion(+), 5 deletions(-) 12 1 file changed, 1 insertion(+), 5 deletions(-)
14 13
15Index: source/i18n/digitlst.cpp 14diff --git a/source/i18n/digitlst.cpp b/source/i18n/digitlst.cpp
16=================================================================== 15index 8e86fa7..0bdbb2c 100644
17--- source.orig/i18n/digitlst.cpp 16--- a/i18n/digitlst.cpp
18+++ source/i18n/digitlst.cpp 17+++ b/i18n/digitlst.cpp
19@@ -61,11 +61,7 @@ 18@@ -62,11 +62,7 @@
20 #endif 19 #endif
21 20
22 #if U_USE_STRTOD_L 21 #if U_USE_STRTOD_L
23-# if U_PLATFORM_USES_ONLY_WIN32_API || U_PLATFORM == U_PF_CYGWIN 22-# if U_HAVE_XLOCALE_H
24-# include <locale.h>
25-# else
26-# include <xlocale.h> 23-# include <xlocale.h>
24-# else
25-# include <locale.h>
27-# endif 26-# endif
28+# include <locale.h> 27+# include <locale.h>
29 #endif 28 #endif
30 29
31 // *************************************************************************** 30 // ***************************************************************************
31--
322.14.2
33
diff --git a/meta/recipes-support/icu/icu/CVE-2017-14952.patch b/meta/recipes-support/icu/icu/CVE-2017-14952.patch
deleted file mode 100644
index f759efc435..0000000000
--- a/meta/recipes-support/icu/icu/CVE-2017-14952.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From fc83cd832725d3968011f118637b9f5d212e8717 Mon Sep 17 00:00:00 2001
2From: Ovidiu Panait <ovidiu.panait@windriver.com>
3Date: Fri, 10 Nov 2017 16:51:25 +0200
4Subject: [PATCH] Removed redundant UVector entry clean up function call.
5
6Upstream-Status: Backport
7CVE: CVE-2017-14952
8
9Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
10---
11 i18n/zonemeta.cpp | 1 -
12 1 file changed, 1 deletion(-)
13
14diff --git a/i18n/zonemeta.cpp b/i18n/zonemeta.cpp
15index 84a9657..e163b00 100644
16--- a/i18n/zonemeta.cpp
17+++ b/i18n/zonemeta.cpp
18@@ -690,7 +690,6 @@ ZoneMeta::createMetazoneMappings(const UnicodeString &tzid) {
19 mzMappings = new UVector(deleteOlsonToMetaMappingEntry, NULL, status);
20 if (U_FAILURE(status)) {
21 delete mzMappings;
22- deleteOlsonToMetaMappingEntry(entry);
23 uprv_free(entry);
24 break;
25 }
26--
272.10.2
28
diff --git a/meta/recipes-support/icu/icu/fix-install-manx.patch b/meta/recipes-support/icu/icu/fix-install-manx.patch
index ec63f50c46..8186fb4122 100644
--- a/meta/recipes-support/icu/icu/fix-install-manx.patch
+++ b/meta/recipes-support/icu/icu/fix-install-manx.patch
@@ -1,3 +1,8 @@
1From 3063a9211669bee673840ee81f81d30699b9b702 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@intel.com>
3Date: Fri, 9 Oct 2015 17:50:41 +0100
4Subject: [PATCH 2/4] icu: fix install race
5
1The generic recursive target calls target-local so also adding it to the 6The generic recursive target calls target-local so also adding it to the
2dependency list results in races due to install-local being executed twice in 7dependency list results in races due to install-local being executed twice in
3parallel. For example, install-manx can fail if the two install processes race 8parallel. For example, install-manx can fail if the two install processes race
@@ -9,12 +14,15 @@ in the install command.
9Upstream-Status: Pending 14Upstream-Status: Pending
10Signed-off-by: Ross Burton <ross.burton@intel.com> 15Signed-off-by: Ross Burton <ross.burton@intel.com>
11 16
17---
18 source/Makefile.in | 8 ++++----
19 1 file changed, 4 insertions(+), 4 deletions(-)
12 20
13diff --git a/Makefile.in b/Makefile.in 21diff --git a/source/Makefile.in b/source/Makefile.in
14index 9db6c52..3441afa 100644 22index c1db15b..4948deb 100644
15--- a/Makefile.in 23--- a/Makefile.in
16+++ b/Makefile.in 24+++ b/Makefile.in
17@@ -71,7 +71,7 @@ EXTRA_DATA = 25@@ -73,7 +73,7 @@ EXTRA_DATA =
18 26
19 ## List of phony targets 27 ## List of phony targets
20 .PHONY : all all-local all-recursive install install-local install-udata install-udata-files install-udata-dlls \ 28 .PHONY : all all-local all-recursive install install-local install-udata install-udata-files install-udata-dlls \
@@ -23,7 +31,7 @@ index 9db6c52..3441afa 100644
23 distclean-local distclean-recursive doc dist dist-local dist-recursive \ 31 distclean-local distclean-recursive doc dist dist-local dist-recursive \
24 check check-local check-recursive clean-recursive-with-twist install-icu \ 32 check check-local check-recursive clean-recursive-with-twist install-icu \
25 doc install-doc tests icu4j-data icu4j-data-install update-windows-makefiles xcheck-local xcheck-recursive xperf xcheck xperf-recursive \ 33 doc install-doc tests icu4j-data icu4j-data-install update-windows-makefiles xcheck-local xcheck-recursive xperf xcheck xperf-recursive \
26@@ -82,10 +82,10 @@ check-exhaustive check-exhaustive-local check-exhaustive-recursive releaseDist 34@@ -84,9 +84,9 @@ check-exhaustive check-exhaustive-local check-exhaustive-recursive releaseDist
27 35
28 ## List of standard targets 36 ## List of standard targets
29 all: all-local all-recursive 37 all: all-local all-recursive
@@ -31,13 +39,11 @@ index 9db6c52..3441afa 100644
31+install: install-recursive 39+install: install-recursive
32 clean: clean-recursive-with-twist clean-local 40 clean: clean-recursive-with-twist clean-local
33-distclean : distclean-recursive distclean-local 41-distclean : distclean-recursive distclean-local
34-dist: dist-recursive dist-local
35+distclean : distclean-recursive 42+distclean : distclean-recursive
36+dist: dist-recursive 43 dist: dist-recursive
37 check: all check-recursive 44 check: all check-recursive
38 check-recursive: all 45 check-recursive: all
39 xcheck: all xcheck-recursive 46@@ -350,7 +350,7 @@ config.status: $(srcdir)/configure $(srcdir)/common/unicode/uvernum.h
40@@ -352,7 +352,7 @@ config.status: $(srcdir)/configure $(srcdir)/common/unicode/uvernum.h
41 47
42 install-manx: $(MANX_FILES) 48 install-manx: $(MANX_FILES)
43 $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION) 49 $(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man$(SECTION)
@@ -46,3 +52,6 @@ index 9db6c52..3441afa 100644
46 52
47 config/%.$(SECTION): $(srcdir)/config/%.$(SECTION).in 53 config/%.$(SECTION): $(srcdir)/config/%.$(SECTION).in
48 cd $(top_builddir) \ 54 cd $(top_builddir) \
55--
562.14.2
57
diff --git a/meta/recipes-support/icu/icu_59.1.bb b/meta/recipes-support/icu/icu_60.1.bb
index 9fb1be81cc..d9d6b37ce9 100644
--- a/meta/recipes-support/icu/icu_59.1.bb
+++ b/meta/recipes-support/icu/icu_60.1.bb
@@ -1,6 +1,6 @@
1require icu.inc 1require icu.inc
2 2
3LIC_FILES_CHKSUM = "file://../LICENSE;md5=fe9e1f2c500466d8f18df2cd068e4b74" 3LIC_FILES_CHKSUM = "file://../LICENSE;md5=675f2d069434d8a1e4e6b0dcf4379226"
4 4
5def icu_download_version(d): 5def icu_download_version(d):
6 pvsplit = d.getVar('PV').split('.') 6 pvsplit = d.getVar('PV').split('.')
@@ -17,14 +17,13 @@ SRC_URI = "${BASE_SRC_URI} \
17 file://icu-pkgdata-large-cmd.patch \ 17 file://icu-pkgdata-large-cmd.patch \
18 file://fix-install-manx.patch \ 18 file://fix-install-manx.patch \
19 file://0001-i18n-Drop-include-xlocale.h.patch \ 19 file://0001-i18n-Drop-include-xlocale.h.patch \
20 file://CVE-2017-14952.patch \
21 " 20 "
22 21
23SRC_URI_append_class-target = "\ 22SRC_URI_append_class-target = "\
24 file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \ 23 file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
25 " 24 "
26SRC_URI[md5sum] = "54923fa9fab5b2b83f235fb72523de37" 25SRC_URI[md5sum] = "3d164a2d1bcebd1464c6160ebb8315ef"
27SRC_URI[sha256sum] = "7132fdaf9379429d004005217f10e00b7d2319d0fea22bdfddef8991c45b75fe" 26SRC_URI[sha256sum] = "f8f5a6c8fbf32c015a467972bdb1477dc5f5d5dfea908b6ed218715eeb5ee225"
28 27
29UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/" 28UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/"
30UPSTREAM_CHECK_URI = "http://download.icu-project.org/files/icu4c/" 29UPSTREAM_CHECK_URI = "http://download.icu-project.org/files/icu4c/"