aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-chrome_browser_platform__util__linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron29/files/patch-chrome_browser_platform__util__linux.cc')
-rw-r--r--devel/electron29/files/patch-chrome_browser_platform__util__linux.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-chrome_browser_platform__util__linux.cc b/devel/electron29/files/patch-chrome_browser_platform__util__linux.cc
new file mode 100644
index 000000000000..df36abae2da6
--- /dev/null
+++ b/devel/electron29/files/patch-chrome_browser_platform__util__linux.cc
@@ -0,0 +1,12 @@
+--- chrome/browser/platform_util_linux.cc.orig 2024-02-21 00:20:35 UTC
++++ chrome/browser/platform_util_linux.cc
+@@ -300,7 +300,9 @@ void RunCommand(const std::string& command,
+
+ base::LaunchOptions options;
+ options.current_directory = working_directory;
++#if !BUILDFLAG(IS_BSD)
+ options.allow_new_privs = true;
++#endif
+ // xdg-open can fall back on mailcap which eventually might plumb through
+ // to a command that needs a terminal. Set the environment variable telling
+ // it that we definitely don't have a terminal available and that it should