From 4a4af31a03bb9d83ee859f0f39a2bf416cf56915 Mon Sep 17 00:00:00 2001 From: Mike Crowe Date: Fri, 27 Nov 2015 14:50:27 +0000 Subject: icu: Upgrade 55.1 -> 56.1 Upgrade ICU from v55.1 to v56.1 and backport a later patch that is necessary to avoid errors during the build. Signed-off-by: Mike Crowe --- .../icu/icu/icu-release-56-1-flagparser-fix.patch | 24 +++++++++++++++++++ meta/recipes-support/icu/icu_55.1.bb | 26 --------------------- meta/recipes-support/icu/icu_56.1.bb | 27 ++++++++++++++++++++++ 3 files changed, 51 insertions(+), 26 deletions(-) create mode 100644 meta/recipes-support/icu/icu/icu-release-56-1-flagparser-fix.patch delete mode 100644 meta/recipes-support/icu/icu_55.1.bb create mode 100644 meta/recipes-support/icu/icu_56.1.bb (limited to 'meta/recipes-support/icu') 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 new file mode 100644 index 0000000000..1519d84696 --- /dev/null +++ b/meta/recipes-support/icu/icu/icu-release-56-1-flagparser-fix.patch @@ -0,0 +1,24 @@ +icu: Ticket #11959: pkgdata dies when compiled with lots'o'flags + +See: http://bugs.icu-project.org/trac/ticket/11959 + +The patch avoids premature failure which results in a segfault. + +Upstream-Status: Backport of r38081 +Signed-off-by: Mike Crowe + +Index: source/tools/toolutil/flagparser.c +=================================================================== +--- source/tools/toolutil/flagparser.c (revision 38046) ++++ source/tools/toolutil/flagparser.c (working copy) +@@ -96,8 +96,8 @@ + uprv_free(buffer); + + T_FileStream_close(f); +- +- if (U_FAILURE(*status)) { ++ ++ if (U_FAILURE(*status) && *status != U_BUFFER_OVERFLOW_ERROR) { + return -1; + } + diff --git a/meta/recipes-support/icu/icu_55.1.bb b/meta/recipes-support/icu/icu_55.1.bb deleted file mode 100644 index e91b6f3abe..0000000000 --- a/meta/recipes-support/icu/icu_55.1.bb +++ /dev/null @@ -1,26 +0,0 @@ -require icu.inc - -LIC_FILES_CHKSUM = "file://../license.html;md5=64eff4aadff4d104d6d437c4fde0e6d7" - -def icu_download_version(d): - pvsplit = d.getVar('PV', True).split('.') - return pvsplit[0] + "_" + pvsplit[1] - -ICU_PV = "${@icu_download_version(d)}" - -# http://errors.yoctoproject.org/Errors/Details/20486/ -ARM_INSTRUCTION_SET_armv4 = "arm" -ARM_INSTRUCTION_SET_armv5 = "arm" - -BASE_SRC_URI = "http://download.icu-project.org/files/icu4c/${PV}/icu4c-${ICU_PV}-src.tgz" -SRC_URI = "${BASE_SRC_URI} \ - file://icu-pkgdata-large-cmd.patch \ - file://fix-install-manx.patch \ - " - -SRC_URI_append_class-target = "\ - file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \ - " -SRC_URI[md5sum] = "e2d523df79d6cb7855c2fbe284f4db29" -SRC_URI[sha256sum] = "e16b22cbefdd354bec114541f7849a12f8fc2015320ca5282ee4fd787571457b" - diff --git a/meta/recipes-support/icu/icu_56.1.bb b/meta/recipes-support/icu/icu_56.1.bb new file mode 100644 index 0000000000..90c93e840c --- /dev/null +++ b/meta/recipes-support/icu/icu_56.1.bb @@ -0,0 +1,27 @@ +require icu.inc + +LIC_FILES_CHKSUM = "file://../license.html;md5=64eff4aadff4d104d6d437c4fde0e6d7" + +def icu_download_version(d): + pvsplit = d.getVar('PV', True).split('.') + return pvsplit[0] + "_" + pvsplit[1] + +ICU_PV = "${@icu_download_version(d)}" + +# http://errors.yoctoproject.org/Errors/Details/20486/ +ARM_INSTRUCTION_SET_armv4 = "arm" +ARM_INSTRUCTION_SET_armv5 = "arm" + +BASE_SRC_URI = "http://download.icu-project.org/files/icu4c/${PV}/icu4c-${ICU_PV}-src.tgz" +SRC_URI = "${BASE_SRC_URI} \ + file://icu-pkgdata-large-cmd.patch \ + file://fix-install-manx.patch \ + file://icu-release-56-1-flagparser-fix.patch \ + " + +SRC_URI_append_class-target = "\ + file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \ + " +SRC_URI[md5sum] = "c4a2d71ff56aec5ebfab2a3f059be99d" +SRC_URI[sha256sum] = "3a64e9105c734dcf631c0b3ed60404531bce6c0f5a64bfe1a6402a4cc2314816" + -- cgit 1.2.3-korg