aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-chrome_browser_platform__util__linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-chrome_browser_platform__util__linux.cc')
-rw-r--r--devel/electron13/files/patch-chrome_browser_platform__util__linux.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-chrome_browser_platform__util__linux.cc b/devel/electron13/files/patch-chrome_browser_platform__util__linux.cc
new file mode 100644
index 000000000000..4c95faee7d8f
--- /dev/null
+++ b/devel/electron13/files/patch-chrome_browser_platform__util__linux.cc
@@ -0,0 +1,12 @@
+--- chrome/browser/platform_util_linux.cc.orig 2021-07-15 19:13:33 UTC
++++ chrome/browser/platform_util_linux.cc
+@@ -126,7 +126,9 @@ void RunCommand(const std::string& command,
+
+ base::LaunchOptions options;
+ options.current_directory = working_directory;
++#if !defined(OS_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