This ebuild and patch set will allow one to make win32 versions of wines tests. Without these patches applied the tests will not compile, throwing errors stating missing libraries. This ebuild applies patches that will fill in the headers and fix those errors. Reproducible: Always Steps to Reproduce: To reproduce the error that this ebuild and patchset fix: 1. Download the wine source code $git clone git://source.winehq.org/git/wine.git wine-git 2. Setup the cross compile environment #emerge crossdev #crossdev i386-mingw32 3. build win32 versions of wines tests $cd wine-git; ./configure; make crosstest Actual Results: error: missing -lcabinet Expected Results: Successful compilation The patches were developed by Hans Leidekker and Stefan Leichter. The source for them is http://mirzam.it.vu.nl/mingw/. I have renamed some of them into a more epatch friendly form here: http://klehm.net
Created attachment 121903 [details, diff] Additional headers to allow wine to build against w32api Available in RPM form http://mirzam.it.vu.nl/mingw/packages/mingw-3.12-21hl.src.rpm and tar.bz2 http://klehm.net/w32api-3.9-patches.tar.bz2
Created attachment 121905 [details] ebuild that applies the patches to dev-util/w32api http://klehm.net/w32api-3.9-r9.ebuild
FYI make crosstest not work on amd64. I have tested it on x86.
Also FYI: Tracked by mingw w32api bug 1730319 http://sourceforge.net/tracker/index.php?func=detail&aid=1730319&group_id=2435&atid=102435 and mingw w32api patch request 1730314 http://sourceforge.net/tracker/index.php?func=detail&aid=1730314&group_id=2435&atid=302435
i'd wait and see what upstream does ... let me know when they make a decision