Darkmere pkg # USE="-alsa" emerge -v wine make[2]: Leaving directory `/var/tmp/portage/wine-20031118-r1/work/wine-20031118/dlls/uxtheme' rm -f uxtheme.dll.so && ln -s uxtheme/uxtheme.dll.so uxtheme.dll.so rm -f version.dll.so && ln -s version/version.dll.so version.dll.so rm -f w32skrnl.dll.so && ln -s win32s/w32skrnl.dll.so w32skrnl.dll.so make[2]: Entering directory `/var/tmp/portage/wine-20031118-r1/work/wine-20031118/dlls/winmm/winealsa' gcc -c -I. -I. -I../../../include -I../../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o audio.o audio.c audio.c: In function `ALSA_TraceParameters': audio.c:316: error: too few arguments to function `snd_pcm_hw_params_get_format' audio.c:317: error: too few arguments to function `snd_pcm_hw_params_get_access' audio.c:372: error: too few arguments to function `snd_pcm_hw_params_get_channels' audio.c:373: error: too few arguments to function `snd_pcm_hw_params_get_buffer_size' audio.c:385: error: too few arguments to function `snd_pcm_hw_params_get_rate' !!! ERROR: app-emulation/wine-20031118-r1 failed. !!! Function src_compile, Line 62, Exitcode 2 !!! (no error message) This shouldn't happen, the build should've disabled alsa support at this point.
there are two patches to fix this http://www.winehq.com/hypermail/wine-devel/2003/12/0194.html
No. Wrong issue: That solves the "alsa doesn't build" , but the issue I'm reporting about is that if I have USE="-alsa" it still -tries- to build Alsa. Why isn't alsa a hard dep if you can't turn it off other than by removing the libraries / headers?
there's no offical flag in configure to do that
might I suggest a config.h or configure.in hack?
20041019 now respects USE flags