19febb8bec
Bundling mozjs in both gjs and polkit should make it possible to remove the system wide mozjs78 package from base RHEL 9, which makes it easier in the future if we need to update gjs to use newer mozjs. At that point, we can just update gjs to the new mozjs version it needs and not have to worry about maintaining a system-wide mozjs78 for all of RHEL 9 lifetime. Resolves: #1958111
36 lines
900 B
Diff
36 lines
900 B
Diff
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
|
|
@@ -249,7 +249,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.30.2
|
|
|