dbus-1/dbus-do-autolaunch.patch
Dr. Werner Fink f045deffd1 Accepting request 180619 from home:sumski:branches:Base:System
Update to 1.7.4. That was intended to superseed previous sr, but didn't expected it will be accepted already :-)

OBS-URL: https://build.opensuse.org/request/show/180619
OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=121
2013-06-23 20:24:58 +00:00

27 lines
933 B
Diff

From: Stephan Kulow <coolo@suse.de>
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
@@ -3230,7 +3230,7 @@ _dbus_get_tmpdir(void)
return tmpdir;
}
-#if defined(DBUS_ENABLE_X11_AUTOLAUNCH) || defined(DBUS_ENABLE_LAUNCHD)
+#if 1
/**
* Execute a subprocess, returning up to 1024 bytes of output
* into @p result.
@@ -3450,7 +3450,7 @@ _dbus_get_autolaunch_address (const char *scope,
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.) */