SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
21
www/ungoogled-chromium/patches/patch-v8_src_api_api_cc
Normal file
21
www/ungoogled-chromium/patches/patch-v8_src_api_api_cc
Normal file
|
@ -0,0 +1,21 @@
|
|||
Index: v8/src/api/api.cc
|
||||
--- v8/src/api/api.cc.orig
|
||||
+++ v8/src/api/api.cc
|
||||
@@ -143,7 +143,7 @@
|
||||
#include "src/wasm/wasm-serialization.h"
|
||||
#endif // V8_ENABLE_WEBASSEMBLY
|
||||
|
||||
-#if V8_OS_LINUX || V8_OS_DARWIN || V8_OS_FREEBSD
|
||||
+#if V8_OS_LINUX || V8_OS_DARWIN || V8_OS_FREEBSD || V8_OS_OPENBSD
|
||||
#include <signal.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -6465,7 +6465,7 @@ bool v8::V8::Initialize(const int build_config) {
|
||||
return true;
|
||||
}
|
||||
|
||||
-#if V8_OS_LINUX || V8_OS_DARWIN
|
||||
+#if V8_OS_LINUX || V8_OS_DARWIN || V8_OS_FREEBSD || V8_OS_OPENBSD
|
||||
bool TryHandleWebAssemblyTrapPosix(int sig_code, siginfo_t* info,
|
||||
void* context) {
|
||||
#if V8_ENABLE_WEBASSEMBLY && V8_TRAP_HANDLER_SUPPORTED
|
Loading…
Add table
Add a link
Reference in a new issue