Bug in dbus-1.1.20 port

Jonathan Hogg jonathan at significant-whitespace.com
Sat Apr 5 14:50:09 UTC 2008


This port cannot be built WITHOUT_X11. The dbus tools directory fails  
to build because of a reference to xdisplay that hasn't been #ifdef'ed  
out.

Patch:

*** dbus-launch.c~      Sat Apr  5 15:30:30 2008
--- dbus-launch.c       Sat Apr  5 15:24:34 2008
***************
*** 966,972 ****
--- 966,974 ----
         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 ();


Thanks,

Jonathan



More information about the freebsd-gnome mailing list