diff options
Diffstat (limited to 'devel/electron21/files/patch-chrome_browser_platform__util__linux.cc')
-rw-r--r-- | devel/electron21/files/patch-chrome_browser_platform__util__linux.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/electron21/files/patch-chrome_browser_platform__util__linux.cc b/devel/electron21/files/patch-chrome_browser_platform__util__linux.cc new file mode 100644 index 000000000000..0648db76b2a9 --- /dev/null +++ b/devel/electron21/files/patch-chrome_browser_platform__util__linux.cc @@ -0,0 +1,12 @@ +--- chrome/browser/platform_util_linux.cc.orig 2022-08-31 12:19:35 UTC ++++ chrome/browser/platform_util_linux.cc +@@ -295,7 +295,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 |