From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtprelay.synopsys.com (smtprelay4.synopsys.com [198.182.47.9]) by mail.openembedded.org (Postfix) with ESMTP id C312F7947E for ; Thu, 20 Sep 2018 20:42:52 +0000 (UTC) Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 4879124E0F69; Thu, 20 Sep 2018 13:42:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1537476174; bh=evNN0Mn1hS1oG5IXKykwc0zTrywMysrfkYsrp8APJ5M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jBN4WpHO7K0ShK9uewleC8TGOEyUruQJCTsRDS4WctotABJ/XYiSlGN9ljemztTVa bH46HRR2XEL1ex33wk5sxbBjQQfAqIB1YFGpiQDOvSwDqNxMk/pQ1BvdjhGPBqSzEj vhyje7fDDwlmlvTtQybkFy1o1EKR6R15GcmNVJnjiTfxB/WgSfw4EN77bVyKs4hi8T rgi5DWKBSgpQ6nU973rivL1Pl9VvJXOwRinOmCDQmOx+OG3gL1BE93QifHHoqCSlVc LTgfPihHYCxaFg1uqdVUYSR1BJZFv3tx+S9M9RRXmIrCX+D+t5l05iv7UllFy8QMj8 KNsYKopH4guBQ== Received: from ru20arcgnu1.internal.synopsys.com (ru20arcgnu1.internal.synopsys.com [10.121.9.48]) by mailhost.synopsys.com (Postfix) with ESMTP id 1A0633B0B; Thu, 20 Sep 2018 13:42:52 -0700 (PDT) From: Alexey Brodkin To: openembedded-core@lists.openembedded.org Date: Thu, 20 Sep 2018 23:42:29 +0300 Message-Id: <20180920204232.10583-7-abrodkin@synopsys.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180920204232.10583-1-abrodkin@synopsys.com> References: <20180920204232.10583-1-abrodkin@synopsys.com> Cc: linux-snps-arc@lists.infradead.org, Alexey Brodkin Subject: [PATCH v2 6/9] icu: Add ARC support X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Sep 2018 20:42:52 -0000 Signed-off-by: Alexey Brodkin --- Changes v1 -> v2: * Added upstream status .../icu/icu/0002-Add-ARC-support.patch | 27 ++++++++++++++++++++++ meta/recipes-support/icu/icu_62.1.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 meta/recipes-support/icu/icu/0002-Add-ARC-support.patch 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 @@ +From fcfd57105b4bdb30d906df152ef01748fa95daff Mon Sep 17 00:00:00 2001 +From: Alexey Brodkin +Date: Thu, 13 Sep 2018 17:13:20 +0300 +Subject: [PATCH] icu: Add ARC support + +Signed-off-by: Alexey Brodkin + +Upstream-Status: Submitted [ https://github.com/unicode-org/icu/pull/149 ] +--- + i18n/double-conversion-utils.h | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/i18n/double-conversion-utils.h b/i18n/double-conversion-utils.h +index 57fc49b231a3..0bd3e8340673 100644 +--- a/i18n/double-conversion-utils.h ++++ b/i18n/double-conversion-utils.h +@@ -86,7 +86,7 @@ inline void abort_noreturn() { abort(); } + defined(__SH4__) || defined(__alpha__) || \ + defined(_MIPS_ARCH_MIPS32R2) || \ + defined(__AARCH64EL__) || defined(__aarch64__) || \ +- defined(__riscv) ++ defined(__riscv) || defined(__arc__) + #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 + #elif defined(__mc68000__) + #undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS +2.17.1 + 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 SRC_URI = "${BASE_SRC_URI} \ file://icu-pkgdata-large-cmd.patch \ file://fix-install-manx.patch \ + file://0002-Add-ARC-support.patch \ " SRC_URI_append_class-target = "\ -- 2.16.2