diff --git a/0001-support-loongarch64.patch b/0001-support-loongarch64.patch new file mode 100644 index 0000000000000000000000000000000000000000..108b8a005091f243c048a92a3ba83c57519681de --- /dev/null +++ b/0001-support-loongarch64.patch @@ -0,0 +1,26 @@ +From a7d14392275a078b4d35076a0d7a24a5594b296f Mon Sep 17 00:00:00 2001 +From: Wenlong Zhang +Date: Fri, 29 Apr 2022 10:22:17 +0800 +Subject: [PATCH] support loongarch64 + +--- + source/i18n/double-conversion-utils.h | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/source/i18n/double-conversion-utils.h b/source/i18n/double-conversion-utils.h +index c937463..44e55d5 100644 +--- a/source/i18n/double-conversion-utils.h ++++ b/source/i18n/double-conversion-utils.h +@@ -128,7 +128,8 @@ int main(int argc, char** argv) { + defined(__riscv) || defined(__e2k__) || \ + defined(__or1k__) || defined(__arc__) || \ + defined(__microblaze__) || defined(__XTENSA__) || \ +- defined(__EMSCRIPTEN__) || defined(__wasm32__) ++ defined(__EMSCRIPTEN__) || defined(__wasm32__) || \ ++ defined(__loongarch__) + #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 + #elif defined(__mc68000__) || \ + defined(__pnacl__) || defined(__native_client__) +-- +2.27.0 + diff --git a/icu.spec b/icu.spec index c854959dc773cb517799f2b6b92cbb470f5011aa..045230d9bdc607a743c72234a54f3d1c43ba2f76 100644 --- a/icu.spec +++ b/icu.spec @@ -1,6 +1,6 @@ Name: icu Version: 69.1 -Release: 2 +Release: 3 Summary: International Components for Unicode License: MIT and UCD and Public Domain URL: http://site.icu-project.org/ @@ -12,6 +12,7 @@ Requires: lib%{name} = %{version}-%{release} Patch1: gennorm2-man.patch Patch2: icuinfo-man.patch +Patch3: 0001-support-loongarch64.patch %description Tools and utilities for developing with icu. @@ -125,6 +126,9 @@ LD_LIBRARY_PATH=lib:stubdata:tools/ctestfw:$LD_LIBRARY_PATH bin/uconv -l %changelog +* Fri Nov 18 2022 huajingyun - 69.1-3 +- add loongarch64 support + * Thu Jul 16 2020 hanhui - 69.1-2 - delete libicu*.so.67*