summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/icu
diff options
context:
space:
mode:
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>2018-09-20 23:42:29 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-21 18:45:47 -0700
commitd5354055a6248d9f371a3f38760fcd277a9938d3 (patch)
tree19a985ed9c488b5be34e71efb39e14972412ab6e /meta/recipes-support/icu
parent3efeb11bd6c3c930a158cc2cfd7f8f2ec80caf23 (diff)
downloadpoky-d5354055a6248d9f371a3f38760fcd277a9938d3.tar.gz
icu: Add ARC support
(From OE-Core rev: 7b7b0fb8c27d06919f537a272107fc3f0b9cf9e5) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.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/0002-Add-ARC-support.patch27
-rw-r--r--meta/recipes-support/icu/icu_62.1.bb1
2 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-support/icu/icu/0002-Add-ARC-support.patch b/meta/recipes-support/icu/icu/0002-Add-ARC-support.patch
new file mode 100644
index 0000000000..20e3d8356c
--- /dev/null
+++ b/meta/recipes-support/icu/icu/0002-Add-ARC-support.patch
@@ -0,0 +1,27 @@
1From fcfd57105b4bdb30d906df152ef01748fa95daff Mon Sep 17 00:00:00 2001
2From: Alexey Brodkin <abrodkin@synopsys.com>
3Date: Thu, 13 Sep 2018 17:13:20 +0300
4Subject: [PATCH] icu: Add ARC support
5
6Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
7
8Upstream-Status: Submitted [ https://github.com/unicode-org/icu/pull/149 ]
9---
10 i18n/double-conversion-utils.h | 2 +-
11 1 files changed, 1 insertions(+), 1 deletions(-)
12
13diff --git a/i18n/double-conversion-utils.h b/i18n/double-conversion-utils.h
14index 57fc49b231a3..0bd3e8340673 100644
15--- a/i18n/double-conversion-utils.h
16+++ b/i18n/double-conversion-utils.h
17@@ -86,7 +86,7 @@ inline void abort_noreturn() { abort(); }
18 defined(__SH4__) || defined(__alpha__) || \
19 defined(_MIPS_ARCH_MIPS32R2) || \
20 defined(__AARCH64EL__) || defined(__aarch64__) || \
21- defined(__riscv)
22+ defined(__riscv) || defined(__arc__)
23 #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
24 #elif defined(__mc68000__)
25 #undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS
262.17.1
27
diff --git a/meta/recipes-support/icu/icu_62.1.bb b/meta/recipes-support/icu/icu_62.1.bb
index ec9db7de84..4e3750b997 100644
--- a/meta/recipes-support/icu/icu_62.1.bb
+++ b/meta/recipes-support/icu/icu_62.1.bb
@@ -16,6 +16,7 @@ BASE_SRC_URI = "http://download.icu-project.org/files/icu4c/${PV}/icu4c-${ICU_PV
16SRC_URI = "${BASE_SRC_URI} \ 16SRC_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://0002-Add-ARC-support.patch \
19 " 20 "
20 21
21SRC_URI_append_class-target = "\ 22SRC_URI_append_class-target = "\