aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-electron_shell_common_node__bindings.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron33/files/patch-electron_shell_common_node__bindings.cc')
-rw-r--r--devel/electron33/files/patch-electron_shell_common_node__bindings.cc29
1 files changed, 0 insertions, 29 deletions
diff --git a/devel/electron33/files/patch-electron_shell_common_node__bindings.cc b/devel/electron33/files/patch-electron_shell_common_node__bindings.cc
deleted file mode 100644
index 297d89788724..000000000000
--- a/devel/electron33/files/patch-electron_shell_common_node__bindings.cc
+++ /dev/null
@@ -1,29 +0,0 @@
---- electron/shell/common/node_bindings.cc.orig 2024-10-22 02:29:46 UTC
-+++ electron/shell/common/node_bindings.cc
-@@ -44,7 +44,7 @@
- #include "third_party/electron_node/src/debug_utils.h"
- #include "third_party/electron_node/src/module_wrap.h"
-
--#if !IS_MAS_BUILD()
-+#if !IS_MAS_BUILD() && !BUILDFLAG(IS_BSD)
- #include "shell/common/crash_keys.h"
- #endif
-
-@@ -158,7 +158,7 @@ void V8FatalErrorCallback(const char* location, const
- void V8FatalErrorCallback(const char* location, const char* message) {
- LOG(ERROR) << "Fatal error in V8: " << location << " " << message;
-
--#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
-@@ -531,7 +531,7 @@ void NodeBindings::Initialize(v8::Local<v8::Context> c
- TRACE_EVENT0("electron", "NodeBindings::Initialize");
- // Open node's error reporting system for browser process.
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // Get real command line in renderer process forked by zygote.
- if (browser_env_ != BrowserEnvironment::kBrowser)
- ElectronCommandLine::InitializeFromCommandLine();