diff options
Diffstat (limited to 'devel/electron13/files/patch-v8_src_api_api.cc')
-rw-r--r-- | devel/electron13/files/patch-v8_src_api_api.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-v8_src_api_api.cc b/devel/electron13/files/patch-v8_src_api_api.cc new file mode 100644 index 000000000000..59a84dedac73 --- /dev/null +++ b/devel/electron13/files/patch-v8_src_api_api.cc @@ -0,0 +1,11 @@ +--- v8/src/api/api.cc.orig 2021-11-13 11:05:57 UTC ++++ v8/src/api/api.cc +@@ -5767,7 +5767,7 @@ bool v8::V8::Initialize(const int build_config) { + return true; + } + +-#if V8_OS_LINUX || V8_OS_MACOSX ++#if V8_OS_LINUX || V8_OS_MACOSX || V8_OS_OPENBSD || V8_OS_FREEBSD + bool TryHandleWebAssemblyTrapPosix(int sig_code, siginfo_t* info, + void* context) { + // When the target code runs on the V8 arm simulator, the trap handler does |