From cb45ea371fb8ff9fd62026dcf060587864c56586 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 2 Dec 2013 00:21:59 +0100 Subject: build: reject broken roaraudio sndio emulation roaraudio has some sort of sndio emulation, but apparently its header file is either blatantly broken, or an old version from the past. The sio_onvol() function has the wrong return type (void instead of int), and the SIO_DEVANY symbol is missing entirely. This broke the build, because the configure check was successful anyway. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index 49cef74dc2..a6f2337240 100644 --- a/wscript +++ b/wscript @@ -425,7 +425,7 @@ audio_output_features = [ 'name': '--sndio', 'desc': 'sndio audio input/output', 'func': check_statement('sndio.h', - 'struct sio_par par; sio_initpar(&par)', lib='sndio') + 'struct sio_par par; sio_initpar(&par); const char *s = SIO_DEVANY', lib='sndio') }, { 'name': '--pulse', 'desc': 'PulseAudio audio output', -- cgit v1.2.3