diff options
Diffstat (limited to 'devel/electron38/files/patch-chrome_browser_platform__util__linux.cc')
-rw-r--r-- | devel/electron38/files/patch-chrome_browser_platform__util__linux.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/electron38/files/patch-chrome_browser_platform__util__linux.cc b/devel/electron38/files/patch-chrome_browser_platform__util__linux.cc new file mode 100644 index 000000000000..9c976315fb87 --- /dev/null +++ b/devel/electron38/files/patch-chrome_browser_platform__util__linux.cc @@ -0,0 +1,12 @@ +--- chrome/browser/platform_util_linux.cc.orig 2025-04-22 20:15:27 UTC ++++ chrome/browser/platform_util_linux.cc +@@ -302,7 +302,9 @@ void OnLaunchOptionsCreated(const std::string& command + argv.push_back(command); + argv.push_back(arg); + 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 |