aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-remoting_host_host__main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-remoting_host_host__main.cc')
-rw-r--r--www/chromium/files/patch-remoting_host_host__main.cc31
1 files changed, 8 insertions, 23 deletions
diff --git a/www/chromium/files/patch-remoting_host_host__main.cc b/www/chromium/files/patch-remoting_host_host__main.cc
index bbcac8b69fd5..ac8a319f73d0 100644
--- a/www/chromium/files/patch-remoting_host_host__main.cc
+++ b/www/chromium/files/patch-remoting_host_host__main.cc
@@ -1,35 +1,24 @@
---- remoting/host/host_main.cc.orig 2021-09-24 04:26:09 UTC
+--- remoting/host/host_main.cc.orig 2022-02-07 13:39:41 UTC
+++ remoting/host/host_main.cc
-@@ -50,9 +50,9 @@ int FileChooserMain();
+@@ -50,7 +50,7 @@ int FileChooserMain();
int RdpDesktopSessionMain();
int UrlForwarderConfiguratorMain();
#endif // defined(OS_WIN)
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
int XSessionChooserMain();
--#endif // defined(OS_LINUX) || defined(OS_CHROMEOS)
-+#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
+ #endif // defined(OS_LINUX) || defined(OS_CHROMEOS)
- namespace {
-
-@@ -63,10 +63,14 @@ const char kUsageMessage[] =
+@@ -63,7 +63,7 @@ const char kUsageMessage[] =
"\n"
"Options:\n"
-#if defined(OS_LINUX)
-+#if defined(OS_LINUX) || defined(OS_FREEBSD)
++#if defined(OS_LINUX) || defined(OS_BSD)
" --audio-pipe-name=<pipe> - Sets the pipe name to capture audio on "
-+#if defined(OS_LINUX)
"Linux.\n"
--#endif // defined(OS_LINUX)
-+#else
-+ "FreeBSD.\n"
-+#endif
-+#endif // defined(OS_LINUX) || defined(OS_FREEBSD)
-
- #if defined(OS_APPLE)
- " --list-audio-devices - List all audio devices and their device "
-@@ -152,10 +156,10 @@ MainRoutineFn SelectMainRoutine(const std::string& pro
+ #endif // defined(OS_LINUX)
+@@ -152,7 +152,7 @@ MainRoutineFn SelectMainRoutine(const std::string& pro
} else if (process_type == kProcessTypeUrlForwarderConfigurator) {
main_routine = &UrlForwarderConfiguratorMain;
#endif // defined(OS_WIN)
@@ -37,8 +26,4 @@
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
} else if (process_type == kProcessTypeXSessionChooser) {
main_routine = &XSessionChooserMain;
--#endif // defined(OS_LINUX) || defined(OS_CHROMEOS)
-+#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
- }
-
- return main_routine;
+ #endif // defined(OS_LINUX) || defined(OS_CHROMEOS)