summaryrefslogtreecommitdiff
path: root/devel/electron35/files/patch-v8_include_v8-internal.h
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2025-04-08 20:53:58 +0900
committerHiroki Tagato <tagattie@FreeBSD.org>2025-04-08 21:01:02 +0900
commit3fe2f6485774f321c82617a884c2e1e4d350f55a (patch)
treea15a37d0f2059a8ac5d38697fb0d73a2d7cee5ee /devel/electron35/files/patch-v8_include_v8-internal.h
parentwww/deno: Add test target (diff)
devel/electron35: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
Diffstat (limited to 'devel/electron35/files/patch-v8_include_v8-internal.h')
-rw-r--r--devel/electron35/files/patch-v8_include_v8-internal.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron35/files/patch-v8_include_v8-internal.h b/devel/electron35/files/patch-v8_include_v8-internal.h
new file mode 100644
index 000000000000..2b2470f5f30c
--- /dev/null
+++ b/devel/electron35/files/patch-v8_include_v8-internal.h
@@ -0,0 +1,11 @@
+--- v8/include/v8-internal.h.orig 2025-03-24 20:50:14 UTC
++++ v8/include/v8-internal.h
+@@ -232,7 +232,7 @@ using SandboxedPointer_t = Address;
+ #ifdef V8_ENABLE_SANDBOX
+
+ // Size of the sandbox, excluding the guard regions surrounding it.
+-#if defined(V8_TARGET_OS_ANDROID)
++#if (defined(V8_TARGET_OS_ANDROID) || defined(V8_TARGET_OS_OPENBSD))
+ // On Android, most 64-bit devices seem to be configured with only 39 bits of
+ // virtual address space for userspace. As such, limit the sandbox to 128GB (a
+ // quarter of the total available address space).