Bug 209175 - sys-apps/dbus-1.1.4 xdisplay usage outside X11-enabled block
Bug#: 209175 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gentopia@gentoo.org Reported By: dairinin@gmail.com
Component: Applications
URL: 
Summary: sys-apps/dbus-1.1.4 xdisplay usage outside X11-enabled block
Keywords:  InCVS
Status Whiteboard: 
Opened: 2008-02-06 20:27 0000
Description:   Opened: 2008-02-06 20:27 0000
tools/dbus-launch.c, line 969:

      xdisplay = NULL;

When compiling with -X, reports (obviously) undeclared xdisplay.


Reproducible: Always

------- Comment #1 From Steev Klimaszewski 2008-02-07 00:57:25 0000 -------
Wrapped the patch into an if use X statement.  This fix is for when dbus-launch
hangs around after X exits, so no point applying it when not built with X.