diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/icu/icu/icu-release-56-1-flagparser-fix.patch | 24 | ||||
-rw-r--r-- | meta/recipes-support/icu/icu_57.1.bb (renamed from meta/recipes-support/icu/icu_56.1.bb) | 7 |
2 files changed, 3 insertions, 28 deletions
diff --git a/meta/recipes-support/icu/icu/icu-release-56-1-flagparser-fix.patch b/meta/recipes-support/icu/icu/icu-release-56-1-flagparser-fix.patch deleted file mode 100644 index 1519d84696..0000000000 --- a/meta/recipes-support/icu/icu/icu-release-56-1-flagparser-fix.patch +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | icu: Ticket #11959: pkgdata dies when compiled with lots'o'flags | ||
2 | |||
3 | See: http://bugs.icu-project.org/trac/ticket/11959 | ||
4 | |||
5 | The patch avoids premature failure which results in a segfault. | ||
6 | |||
7 | Upstream-Status: Backport of r38081 | ||
8 | Signed-off-by: Mike Crowe <mac@mcrowe.com> | ||
9 | |||
10 | Index: source/tools/toolutil/flagparser.c | ||
11 | =================================================================== | ||
12 | --- source/tools/toolutil/flagparser.c (revision 38046) | ||
13 | +++ source/tools/toolutil/flagparser.c (working copy) | ||
14 | @@ -96,8 +96,8 @@ | ||
15 | uprv_free(buffer); | ||
16 | |||
17 | T_FileStream_close(f); | ||
18 | - | ||
19 | - if (U_FAILURE(*status)) { | ||
20 | + | ||
21 | + if (U_FAILURE(*status) && *status != U_BUFFER_OVERFLOW_ERROR) { | ||
22 | return -1; | ||
23 | } | ||
24 | |||
diff --git a/meta/recipes-support/icu/icu_56.1.bb b/meta/recipes-support/icu/icu_57.1.bb index db0de106bc..90c2b82752 100644 --- a/meta/recipes-support/icu/icu_56.1.bb +++ b/meta/recipes-support/icu/icu_57.1.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require icu.inc | 1 | require icu.inc |
2 | 2 | ||
3 | LIC_FILES_CHKSUM = "file://../license.html;md5=64eff4aadff4d104d6d437c4fde0e6d7" | 3 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=787d3b37867445c1cdd6f6167bd0e347" |
4 | 4 | ||
5 | def icu_download_version(d): | 5 | def icu_download_version(d): |
6 | pvsplit = d.getVar('PV', True).split('.') | 6 | pvsplit = d.getVar('PV', True).split('.') |
@@ -16,14 +16,13 @@ BASE_SRC_URI = "http://download.icu-project.org/files/icu4c/${PV}/icu4c-${ICU_PV | |||
16 | SRC_URI = "${BASE_SRC_URI} \ | 16 | 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://icu-release-56-1-flagparser-fix.patch \ | ||
20 | " | 19 | " |
21 | 20 | ||
22 | SRC_URI_append_class-target = "\ | 21 | SRC_URI_append_class-target = "\ |
23 | file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \ | 22 | file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \ |
24 | " | 23 | " |
25 | SRC_URI[md5sum] = "c4a2d71ff56aec5ebfab2a3f059be99d" | 24 | SRC_URI[md5sum] = "976734806026a4ef8bdd17937c8898b9" |
26 | SRC_URI[sha256sum] = "3a64e9105c734dcf631c0b3ed60404531bce6c0f5a64bfe1a6402a4cc2314816" | 25 | SRC_URI[sha256sum] = "ff8c67cb65949b1e7808f2359f2b80f722697048e90e7cfc382ec1fe229e9581" |
27 | 26 | ||
28 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/" | 27 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/" |
29 | UPSTREAM_CHECK_URI = "http://download.icu-project.org/files/icu4c/" | 28 | UPSTREAM_CHECK_URI = "http://download.icu-project.org/files/icu4c/" |