aboutsummaryrefslogtreecommitdiffstats
path: root/community/firefox-esr/fd6847c9416f9eebde636e21d794d25d1be8791d.patch
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2020-01-13 18:07:27 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-01-14 16:02:01 +0100
commitbe221627cd41d467da32e8c49773cdbd24d817b4 (patch)
tree3a52eafb8689af46480ef978115f1e6b21edb72b /community/firefox-esr/fd6847c9416f9eebde636e21d794d25d1be8791d.patch
parent705bf07c6f1da1ff763603dbe90a49852b3da78b (diff)
downloadaports-be221627cd41d467da32e8c49773cdbd24d817b4.tar.bz2
aports-be221627cd41d467da32e8c49773cdbd24d817b4.tar.xz
community/firefox-esr: enable on armhf, armv7, ppc64le and x86
Diffstat (limited to 'community/firefox-esr/fd6847c9416f9eebde636e21d794d25d1be8791d.patch')
-rw-r--r--community/firefox-esr/fd6847c9416f9eebde636e21d794d25d1be8791d.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/firefox-esr/fd6847c9416f9eebde636e21d794d25d1be8791d.patch b/community/firefox-esr/fd6847c9416f9eebde636e21d794d25d1be8791d.patch
new file mode 100644
index 0000000000..1af68d93c6
--- /dev/null
+++ b/community/firefox-esr/fd6847c9416f9eebde636e21d794d25d1be8791d.patch
@@ -0,0 +1,37 @@
+See https://bugzilla.mozilla.org/show_bug.cgi?id=1539739
+
+From fd6847c9416f9eebde636e21d794d25d1be8791d Mon Sep 17 00:00:00 2001
+From: Mike Hommey <mh@glandium.org>
+Date: Sat, 1 Jun 2019 09:06:01 +0900
+Subject: [PATCH] Bug 1526653 - Include struct definitions for user_vfp and
+ user_vfp_exc.
+
+---
+ js/src/wasm/WasmSignalHandlers.cpp | 11 ++++++++++-
+ 1 file changed, 10 insertions(+), 1 deletion(-)
+
+diff --git a/js/src/wasm/WasmSignalHandlers.cpp b/js/src/wasm/WasmSignalHandlers.cpp
+index 636537f8478..383c380f04c 100644
+--- a/js/src/wasm/WasmSignalHandlers.cpp
++++ b/js/src/wasm/WasmSignalHandlers.cpp
+@@ -248,7 +248,16 @@ using mozilla::DebugOnly;
+ #endif
+
+ #ifdef WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
+-# include <sys/user.h>
++struct user_vfp {
++ unsigned long long fpregs[32];
++ unsigned long fpscr;
++};
++
++struct user_vfp_exc {
++ unsigned long fpexc;
++ unsigned long fpinst;
++ unsigned long fpinst2;
++};
+ #endif
+
+ #if defined(ANDROID)
+--
+2.20.1
+