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

From: Stephan Kulow <coolo@suse.de>

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

Index: dbus-1.5.8/dbus/dbus-sysdeps-unix.c
===================================================================
--- dbus-1.5.8.orig/dbus/dbus-sysdeps-unix.c	2011-09-21 19:20:06.000000000 +0200
+++ dbus-1.5.8/dbus/dbus-sysdeps-unix.c	2011-10-12 11:39:26.099779864 +0200
@@ -3339,7 +3339,7 @@ _dbus_get_autolaunch_address (const char
                               DBusString *address,
                               DBusError  *error)
 {
-#ifdef DBUS_ENABLE_X11_AUTOLAUNCH
+#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