From 24805c2fd67a50f9cf3b85dc6570aad5ea869fd6 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sat, 6 Jun 2015 18:52:22 +0000 Subject: [PATCH] mozjs24: fix build on aarch64. --- srcpkgs/mozjs24/patches/aarch64.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 srcpkgs/mozjs24/patches/aarch64.patch diff --git a/srcpkgs/mozjs24/patches/aarch64.patch b/srcpkgs/mozjs24/patches/aarch64.patch new file mode 100644 index 0000000000..f98022b5ef --- /dev/null +++ b/srcpkgs/mozjs24/patches/aarch64.patch @@ -0,0 +1,12 @@ +--- mfbt/double-conversion/utils.h ++++ mfbt/double-conversion/utils.h +@@ -58,7 +58,8 @@ + defined(__mips__) || defined(__powerpc__) || \ + defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ + defined(__SH4__) || defined(__alpha__) || \ +- defined(_MIPS_ARCH_MIPS32R2) ++ defined(_MIPS_ARCH_MIPS32R2) || \ ++ defined(__AARCH64EL__) + #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 + #elif defined(_M_IX86) || defined(__i386__) || defined(__i386) + #if defined(_WIN32)