http://bugs.winehq.org/show_bug.cgi?id=28511
--- Comment #2 from Maurizio Oliveri 6tsukiyami9@gmail.com 2011-09-28 18:05:12 CDT --- Sorry for the delay, accorfing to git bisect, here's the patch causing the problem:
e7a652395be382942e0392e17798e374926eba8f is the first bad commit commit e7a652395be382942e0392e17798e374926eba8f Author: Andrew Eikum aeikum@codeweavers.com Date: Wed Sep 14 11:24:26 2011 -0500
winealsa.drv: Allow creation of the default device even if all real devices failed to open.
:040000 040000 25bb162a64c4fd8ff280b53d5bbe1f2b5e995b6e 76584f2f7f016bf1a6664cb72c5399000c05707c M dlls
I tried reverting it to see if the issue is actually caused by it, but i got this message:
patching file dlls/winealsa.drv/mmdevdrv.c Hunk #1 FAILED at 238. Hunk #2 FAILED at 277. Hunk #3 succeeded at 380 with fuzz 2 (offset 49 lines). Hunk #4 FAILED at 368. Hunk #5 succeeded at 453 (offset 63 lines). Hunk #6 FAILED at 415. 4 out of 6 hunks FAILED -- saving rejects to file dlls/winealsa.drv/mmdevdrv.c.rej
and trying to compile anyways gives the error:
gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body -Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings -Wpointer-arith -Wlogical-op -g -O2 -o mmdevdrv.o mmdevdrv.c mmdevdrv.c: In function ‘alsa_enum_devices’: mmdevdrv.c:400:14: error: ‘count_failed’ undeclared (first use in this function) mmdevdrv.c:400:14: note: each undeclared identifier is reported only once for each function it appears in mmdevdrv.c: In function ‘AUDDRV_GetEndpointIDs’: mmdevdrv.c:477:5: error: too many arguments to function ‘alsa_enum_devices’ mmdevdrv.c:382:16: note: declared here make[1]: *** [mmdevdrv.o] Error 1 make[1]: Leaving directory `/home/soulsuke/wine-git/dlls/winealsa.drv' make: *** [dlls/winealsa.drv] Error 2