aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-electron_shell_common_electron__command__line.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-electron_shell_common_electron__command__line.cc')
-rw-r--r--devel/electron13/files/patch-electron_shell_common_electron__command__line.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-electron_shell_common_electron__command__line.cc b/devel/electron13/files/patch-electron_shell_common_electron__command__line.cc
new file mode 100644
index 000000000000..ababda28c125
--- /dev/null
+++ b/devel/electron13/files/patch-electron_shell_common_electron__command__line.cc
@@ -0,0 +1,11 @@
+--- electron/shell/common/electron_command_line.cc.orig 2021-01-22 23:55:24 UTC
++++ electron/shell/common/electron_command_line.cc
+@@ -26,7 +26,7 @@ void ElectronCommandLine::Init(int argc, base::Command
+ argv_.assign(argv, argv + argc);
+ }
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // static
+ void ElectronCommandLine::InitializeFromCommandLine() {
+ argv_ = base::CommandLine::ForCurrentProcess()->argv();