mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
20 lines
928 B
C++
20 lines
928 B
C++
--- content/app/content_main.cc.orig 2025-04-16 18:18:42 UTC
|
|
+++ content/app/content_main.cc
|
|
@@ -227,7 +227,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
|
|
@@ -317,7 +317,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
|
|
|