aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-electron_shell_services_node_node__service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-electron_shell_services_node_node__service.cc')
-rw-r--r--devel/electron37/files/patch-electron_shell_services_node_node__service.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-electron_shell_services_node_node__service.cc b/devel/electron37/files/patch-electron_shell_services_node_node__service.cc
new file mode 100644
index 000000000000..a69bf043abda
--- /dev/null
+++ b/devel/electron37/files/patch-electron_shell_services_node_node__service.cc
@@ -0,0 +1,20 @@
+--- electron/shell/services/node/node_service.cc.orig 2025-07-02 10:12:01 UTC
++++ electron/shell/services/node/node_service.cc
+@@ -23,7 +23,7 @@
+ #include "shell/common/node_includes.h"
+ #include "shell/services/node/parent_port.h"
+
+-#if !IS_MAS_BUILD()
++#if !IS_MAS_BUILD() && !BUILDFLAG(IS_BSD)
+ #include "shell/common/crash_keys.h"
+ #endif
+
+@@ -40,7 +40,7 @@ void V8FatalErrorCallback(const char* location, const
+ g_client_remote->OnV8FatalError(location, outstream.str());
+ }
+
+-#if !IS_MAS_BUILD()
++#if !IS_MAS_BUILD() && !BUILDFLAG(IS_BSD)
+ electron::crash_keys::SetCrashKey("electron.v8-fatal.message", message);
+ electron::crash_keys::SetCrashKey("electron.v8-fatal.location", location);
+ #endif