aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-services_service__manager_embedder_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-services_service__manager_embedder_main.cc')
-rw-r--r--www/iridium/files/patch-services_service__manager_embedder_main.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/iridium/files/patch-services_service__manager_embedder_main.cc b/www/iridium/files/patch-services_service__manager_embedder_main.cc
new file mode 100644
index 000000000000..59c9689f2a44
--- /dev/null
+++ b/www/iridium/files/patch-services_service__manager_embedder_main.cc
@@ -0,0 +1,11 @@
+--- services/service_manager/embedder/main.cc.orig 2019-03-11 22:01:02 UTC
++++ services/service_manager/embedder/main.cc
+@@ -320,7 +320,7 @@ int Main(const MainParams& params) {
+ #endif
+ base::EnableTerminationOnOutOfMemory();
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // The various desktop environments set this environment variable that
+ // allows the dbus client library to connect directly to the bus. When this
+ // variable is not set (test environments like xvfb-run), the dbus client