mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 14:31:02 +02:00
dev-lang/spidermonkey: Add aarch64-to-double-conversion patch
Fixes build errors on arm64. Signed-off-by: Geoff Levand <geoff@infradead.org>
This commit is contained in:
parent
b965582969
commit
d213cbe455
@ -0,0 +1,26 @@
|
||||
From d37efd69428da06eb4834c27dc43ffdab086f20c Mon Sep 17 00:00:00 2001
|
||||
From: Geoff Levand <geoff@infradead.org>
|
||||
Date: Fri, 1 May 2015 10:04:14 -0700
|
||||
Subject: [PATCH] mfbt: Add aarch64 to double-conversion
|
||||
|
||||
Signed-off-by: Geoff Levand <geoff@infradead.org>
|
||||
---
|
||||
mfbt/double-conversion/utils.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/mfbt/double-conversion/utils.h b/mfbt/double-conversion/utils.h
|
||||
index 0eec2d9..a68a032 100644
|
||||
--- a/mfbt/double-conversion/utils.h
|
||||
+++ b/mfbt/double-conversion/utils.h
|
||||
@@ -58,7 +58,7 @@
|
||||
defined(__mips__) || defined(__powerpc__) || \
|
||||
defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
|
||||
defined(__SH4__) || defined(__alpha__) || \
|
||||
- defined(_MIPS_ARCH_MIPS32R2)
|
||||
+ defined(_MIPS_ARCH_MIPS32R2) || defined(__aarch64__)
|
||||
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
|
||||
#elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
|
||||
#if defined(_WIN32)
|
||||
--
|
||||
2.1.0
|
||||
|
@ -45,6 +45,7 @@ src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-${SLOT}-js-config-shebang.patch
|
||||
epatch "${FILESDIR}"/${PN}-${SLOT}-ia64-mmap.patch
|
||||
epatch "${FILESDIR}"/${PN}-17.0.0-fix-file-permissions.patch
|
||||
epatch "${FILESDIR}"/${PN}-mfbt-Add-aarch64-to-double-conversion.patch
|
||||
# Remove obsolete jsuword bug #506160
|
||||
sed -i -e '/jsuword/d' "${BUILDDIR}"/jsval.h ||die "sed failed"
|
||||
epatch_user
|
||||
|
Loading…
x
Reference in New Issue
Block a user