Merge pull request #9710 from BKPepe/icu_fix
[OpenWrt 18.06] icu: fix patch, which adds big endian ARM support
This commit is contained in:
commit
a0e1a77006
2 changed files with 8 additions and 6 deletions
|
@ -11,7 +11,7 @@ PKG_NAME:=icu4c
|
|||
MAJOR_VERSION:=61
|
||||
MINOR_VERSION:=2
|
||||
PKG_VERSION:=$(MAJOR_VERSION).$(MINOR_VERSION)
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(MAJOR_VERSION)_$(MINOR_VERSION)-src.tgz
|
||||
PKG_SOURCE_URL:=https://github.com/unicode-org/icu/releases/download/release-$(MAJOR_VERSION)-$(MINOR_VERSION)
|
||||
|
|
|
@ -5,13 +5,13 @@ Subject: [PATCH] Add big endian ARM support (#92)
|
|||
|
||||
This fixes compilation on such platforms.
|
||||
---
|
||||
double-conversion/utils.h | 2 +-
|
||||
i18n/double-conversion-utils.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/source/i18n/double-conversion-utils.h b/source/i18n/double-conversion-utils.h
|
||||
index 1e44fca..b715c65 100644
|
||||
--- a/source/i18n/double-conversion-utils.h
|
||||
+++ b/source/i18n/double-conversion-utils.h
|
||||
diff --git a/i18n/double-conversion-utils.h b/i18n/double-conversion-utils.h
|
||||
index 02795b4..9b3cdef 100644
|
||||
--- a/i18n/double-conversion-utils.h
|
||||
+++ b/i18n/double-conversion-utils.h
|
||||
@@ -84,7 +84,7 @@ inline void abort_noreturn() { abort(); }
|
||||
defined(_POWER) || defined(_ARCH_PPC) || defined(_ARCH_PPC64) || \
|
||||
defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
|
||||
|
@ -21,3 +21,5 @@ index 1e44fca..b715c65 100644
|
|||
defined(__AARCH64EL__) || defined(__aarch64__) || \
|
||||
defined(__riscv)
|
||||
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
|
||||
--
|
||||
2.20.1
|
||||
|
|
Loading…
Reference in a new issue