summaryrefslogtreecommitdiff
path: root/devel/electron7/files/patch-remoting_host_switches.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron7/files/patch-remoting_host_switches.cc')
-rw-r--r--devel/electron7/files/patch-remoting_host_switches.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/electron7/files/patch-remoting_host_switches.cc b/devel/electron7/files/patch-remoting_host_switches.cc
new file mode 100644
index 000000000000..2cb8c7cc028a
--- /dev/null
+++ b/devel/electron7/files/patch-remoting_host_switches.cc
@@ -0,0 +1,14 @@
+--- remoting/host/switches.cc.orig 2019-12-12 12:39:55 UTC
++++ remoting/host/switches.cc
+@@ -21,9 +21,9 @@ const char kProcessTypeHost[] = "host";
+ const char kProcessTypeRdpDesktopSession[] = "rdp_desktop_session";
+ const char kProcessTypeEvaluateCapability[] = "evaluate_capability";
+ const char kProcessTypeFileChooser[] = "file_chooser";
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ const char kProcessTypeXSessionChooser[] = "xsession_chooser";
+-#endif // defined(OS_LINUX)
++#endif // defined(OS_LINUX) || defined(OS_BSD)
+
+ const char kEvaluateCapabilitySwitchName[] = "evaluate-type";
+