http://bugs.winehq.org/show_bug.cgi?id=19397
--- Comment #24 from Juan Lang juan_lang@yahoo.com 2009-07-24 14:13:57 --- (In reply to comment #22)
I started applying the patches and compiling before reading this message. I downloaded the patches to /tmp/patch and then did
git apply /tmp/patch/* configure make depend && make
I think that this does the same as the commands that you posted, but I hope that you correct me if this is wrong. (Make depend is probably not necessary.)
Actually, I just caught one problem: you need to run autoconf before running configure. The patch named 1/4 doesn't update configure, just configure.ac, and it needs autoconf to be run to regenerate configure.