[pulseaudio-tickets] [PulseAudio] #927: [PATCH] Fixing pulseaudio to build together with git xcb-util

PulseAudio trac-noreply at tango.0pointer.de
Tue Mar 29 14:39:52 PDT 2011


#927: [PATCH] Fixing pulseaudio to build together with git xcb-util
--------------------+-------------------------------------------------------
 Reporter:  mgrela  |       Owner:  lennart     
     Type:  defect  |      Status:  new         
Milestone:          |   Component:  module-x11-*
 Keywords:          |  
--------------------+-------------------------------------------------------
 Hi,

 I recently tried to build pulseaudio with most recent xcb-util from git on
 my Gentoo box. It failed with the following error:

   CC     libpulsecommon_0.9.22_la-x11prop.lo
 pulsecore/x11prop.c: In function 'pa_x11_set_prop':
 pulsecore/x11prop.c:60:9: warning: implicit declaration of function
 'xcb_atom_get' [-Wimplicit-function-declaration]
 pulsecore/x11prop.c:61:70: error: 'STRING' undeclared (first use in this
 function)
 pulsecore/x11prop.c:61:70: note: each undeclared identifier is reported
 only once for each function it appears in
 pulsecore/x11prop.c: In function 'pa_x11_get_prop':
 pulsecore/x11prop.c:104:53: error: 'STRING' undeclared (first use in this
 function)
 make[3]: *** [libpulsecommon_0.9.22_la-x11prop.lo] Error 1

 I've made a patch to change the call to the missing xcb_atom_get to
 something that xcb can manage. I also updated the STRING constants as they
 were obsoleted some time ago. I'm attaching the patch in the hope you will
 find it useful and include it in the main code.

 Best regards,
 Maciej Grela

-- 
Ticket URL: <http://pulseaudio.org/ticket/927>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list