summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-remoting_host_host__main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-remoting_host_host__main.cc')
-rw-r--r--www/iridium/files/patch-remoting_host_host__main.cc27
1 files changed, 27 insertions, 0 deletions
diff --git a/www/iridium/files/patch-remoting_host_host__main.cc b/www/iridium/files/patch-remoting_host_host__main.cc
new file mode 100644
index 000000000000..72f86cb90395
--- /dev/null
+++ b/www/iridium/files/patch-remoting_host_host__main.cc
@@ -0,0 +1,27 @@
+--- remoting/host/host_main.cc.orig 2019-10-30 16:20:58 UTC
++++ remoting/host/host_main.cc
+@@ -49,9 +49,9 @@ int DesktopProcessMain();
+ int FileChooserMain();
+ int RdpDesktopSessionMain();
+ #endif // defined(OS_WIN)
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ int XSessionChooserMain();
+-#endif // defined(OS_LINUX)
++#endif // defined(OS_LINUX) || defined(OS_BSD)
+
+ namespace {
+
+@@ -146,10 +146,10 @@ MainRoutineFn SelectMainRoutine(const std::string& pro
+ } else if (process_type == kProcessTypeRdpDesktopSession) {
+ main_routine = &RdpDesktopSessionMain;
+ #endif // defined(OS_WIN)
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ } else if (process_type == kProcessTypeXSessionChooser) {
+ main_routine = &XSessionChooserMain;
+-#endif // defined(OS_LINUX)
++#endif // defined(OS_LINUX) || defined(OS_BSD)
+ }
+
+ return main_routine;