aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-content_app_content__main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-content_app_content__main.cc')
-rw-r--r--devel/electron37/files/patch-content_app_content__main.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-content_app_content__main.cc b/devel/electron37/files/patch-content_app_content__main.cc
new file mode 100644
index 000000000000..f9d20d78af1e
--- /dev/null
+++ b/devel/electron37/files/patch-content_app_content__main.cc
@@ -0,0 +1,20 @@
+--- content/app/content_main.cc.orig 2025-07-04 05:17:07 UTC
++++ content/app/content_main.cc
+@@ -233,7 +233,7 @@ NO_STACK_PROTECTOR int RunContentProcess(
+ base::EnableTerminationOnOutOfMemory();
+ logging::RegisterAbslAbortHook();
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ // The various desktop environments set this environment variable that
+ // allows the dbus client library to connect directly to the bus. When this
+ // variable is not set (test environments like xvfb-run), the dbus client
+@@ -332,7 +332,7 @@ NO_STACK_PROTECTOR int RunContentProcess(
+ #endif
+ #endif
+
+-#if (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)) && !defined(COMPONENT_BUILD)
++#if (BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)) && !defined(COMPONENT_BUILD) && defined(notyet)
+ base::subtle::EnableFDOwnershipEnforcement(true);
+ #endif
+