From: | "Stephen Klimaszewski (steev)" <steev@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/dbus/files: dbus-1.1.20-fix-build.patch |
Date: | Thu, 28 Feb 2008 00:26:16 |
Message-Id: | E1JUWbF-0007Ig-8K@stork.gentoo.org |
1 | steev 08/02/28 00:26:13 |
2 | |
3 | Added: dbus-1.1.20-fix-build.patch |
4 | Log: |
5 | Add patch so dbus 1.1.20 builds without X |
6 | (Portage version: 2.1.4.4) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sys-apps/dbus/files/dbus-1.1.20-fix-build.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/dbus/files/dbus-1.1.20-fix-build.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/dbus/files/dbus-1.1.20-fix-build.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: dbus-1.1.20-fix-build.patch |
15 | =================================================================== |
16 | diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c |
17 | index 5d6e77e..6a10ffa 100644 |
18 | --- a/tools/dbus-launch.c |
19 | +++ b/tools/dbus-launch.c |
20 | @@ -966,7 +966,9 @@ main (int argc, char **argv) |
21 | char write_pid_fd_as_string[MAX_FD_LEN]; |
22 | char write_address_fd_as_string[MAX_FD_LEN]; |
23 | |
24 | +#ifdef DBUS_BUILD_X11 |
25 | xdisplay = NULL; |
26 | +#endif |
27 | |
28 | if (close_stderr) |
29 | do_close_stderr (); |
30 | |
31 | |
32 | |
33 | -- |
34 | gentoo-commits@l.g.o mailing list |