File dbus-do-autolaunch.patch of Package dbus-1

From: Stephan Kulow <>

We want x11 autolaunch even if we have no x11 in the build environment

Index: dbus-1.6.8/dbus/dbus-sysdeps-unix.c
--- dbus-1.6.8.orig/dbus/dbus-sysdeps-unix.c
+++ dbus-1.6.8/dbus/dbus-sysdeps-unix.c
@@ -3424,7 +3424,7 @@ _dbus_get_autolaunch_address (const char
                               DBusString *address,
                               DBusError  *error)
+#if 1
   /* Perform X11-based autolaunch. (We also support launchd-based autolaunch,
    * but that's done elsewhere, and if it worked, this function wouldn't
    * be called.) */
openSUSE Build Service is sponsored by