icu: Fix patch from faulty backport
authorRosen Penev <rosenp@gmail.com>
Mon, 12 Aug 2019 23:05:04 +0000 (16:05 -0700)
committerRosen Penev <rosenp@gmail.com>
Mon, 12 Aug 2019 23:05:04 +0000 (16:05 -0700)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/icu/patches/010-add-big-endian-arm-support.patch

index 2c4dee8f4263ca8b402c31f79c210c7cc8876751..5ad27d7b2c95daa2ba4ac869755d609df197f64b 100644 (file)
@@ -10,14 +10,14 @@ This fixes compilation on such platforms.
 
 diff --git a/source/i18n/double-conversion-utils.h b/source/i18n/double-conversion-utils.h
 index 1e44fca..b715c65 100644
---- a/18n/double-conversion-utils.h
-+++ b/i18n/double-conversion-utils.h
-@@ -99,7 +99,7 @@ int main(int argc, char** argv) {
+--- a/source/i18n/double-conversion-utils.h
++++ b/source/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__) || \
      defined(__SH4__) || defined(__alpha__) || \
 -    defined(_MIPS_ARCH_MIPS32R2) || \
 +    defined(_MIPS_ARCH_MIPS32R2) || defined(__ARMEB__) || \
-     defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \
-     defined(__riscv) || \
-     defined(__or1k__) || defined(__arc__) || \
+     defined(__AARCH64EL__) || defined(__aarch64__) || \
+     defined(__riscv)
+ #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1