[Spice-devel] [spice-gtk PATCH v1 0/3] fix build on rhel6

Victor Toso victortoso at redhat.com
Mon Apr 27 06:12:37 PDT 2015


The spice-pulse patch 37ba949716ebf441110330 related to volume-sync
breaks the build on rhel6. This series fix it. Build error:

spice-pulse.c: In function ‘spice_pulse_dispose’:
spice-pulse.c:154: warning: implicit declaration of function ‘g_clear_pointer’ [-Wimplicit-function-declaration]
spice-pulse.c:154: warning: nested extern declaration of ‘g_clear_pointer’ [-Wnested-externs]
spice-pulse.c: In function ‘free_async_task’:
spice-pulse.c:927: error: ‘G_SOURCE_REMOVE’ undeclared (first use in this function)
spice-pulse.c:927: error: (Each undeclared identifier is reported only once
spice-pulse.c:927: error: for each function it appears in.)
spice-pulse.c: In function ‘source_output_info_cb’:
spice-pulse.c:1108: error: ‘pa_source_output_info’ has no member named ‘mute’
spice-pulse.c:1110: error: ‘pa_source_output_info’ has no member named ‘volume’
spice-pulse.c: In function ‘pulse_stream_restore_info_async’:
spice-pulse.c:1151: warning: implicit declaration of function ‘g_simple_async_result_set_check_cancellable’ [-Wimplicit-function-declaration]
spice-pulse.c:1151: warning: nested extern declaration of ‘g_simple_async_result_set_check_cancellable’ [-Wnested-externs]
make[4]: *** [spice-pulse.lo] Error 1
make[4]: Leaving directory `/tmp/spice-gtk/gtk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/spice-gtk/gtk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/spice-gtk/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/spice-gtk'
make: *** [all] Error 2
Return code: 512! make failed! Exiting!


Victor Toso (3):
  glib-compat: add G_SOURCE_REMOVE G_SOURCE_CONTINUE
  spice-pulse: GSimpleAsyncResult compatibility
  spice-pulse: compatibility with old pulse version

 gtk/glib-compat.h |  4 ++++
 gtk/spice-pulse.c | 25 +++++++++++++++++++++++++
 2 files changed, 29 insertions(+)

-- 
2.1.0



More information about the Spice-devel mailing list