diff options
author | Stephen Klimaszewski <steev@gentoo.org> | 2008-02-28 00:26:12 +0000 |
---|---|---|
committer | Stephen Klimaszewski <steev@gentoo.org> | 2008-02-28 00:26:12 +0000 |
commit | a5c364f14b6c4d2b9c6a6c65832851deb648c004 (patch) | |
tree | cdb67875d94ebee726ecd4f1586efd926015261a /sys-apps/dbus/files | |
parent | Version bump (bug #209483 thanks to Michael Polskienazwisko), added PYTHON_MO... (diff) | |
download | gentoo-2-a5c364f14b6c4d2b9c6a6c65832851deb648c004.tar.gz gentoo-2-a5c364f14b6c4d2b9c6a6c65832851deb648c004.tar.bz2 gentoo-2-a5c364f14b6c4d2b9c6a6c65832851deb648c004.zip |
Add patch so dbus 1.1.20 builds without X
(Portage version: 2.1.4.4)
Diffstat (limited to 'sys-apps/dbus/files')
-rw-r--r-- | sys-apps/dbus/files/dbus-1.1.20-fix-build.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-apps/dbus/files/dbus-1.1.20-fix-build.patch b/sys-apps/dbus/files/dbus-1.1.20-fix-build.patch new file mode 100644 index 000000000000..87e810646c4e --- /dev/null +++ b/sys-apps/dbus/files/dbus-1.1.20-fix-build.patch @@ -0,0 +1,14 @@ +diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c +index 5d6e77e..6a10ffa 100644 +--- a/tools/dbus-launch.c ++++ b/tools/dbus-launch.c +@@ -966,7 +966,9 @@ main (int argc, char **argv) + char write_pid_fd_as_string[MAX_FD_LEN]; + char write_address_fd_as_string[MAX_FD_LEN]; + ++#ifdef DBUS_BUILD_X11 + xdisplay = NULL; ++#endif + + if (close_stderr) + do_close_stderr (); |