Patches that will allow mingw to succesfully cross compile Wine's regression tests with mingw on a non windows host.
Running ./configure; make crosstest; will result in missing library and undefined symbol errors if these patches are not applied to the win32api package.
The source for these patches is from Sefan Leichter and Hans Leidekker at his MinGW RPM patches page. I've changed the suffixes on some patches to better describe the order they are applied in. This lets gentoo automatically apply them in the correct order. Other than slight name changes all I've done is extract them from the RPM and put them in tar.bz2 format
Update 7/20/2007: Han's updated his RPM so now this tarball and his RPM contain th same patchset.
Each time this tarball is updated you'll need to reemerge whatever package w32api package crossdev setup for you. In my case it's cross-i386-mingw32/w32api. So to summarize:
This ebuild is a modified version of the w32api-3.9.ebuild. It is modfied to apply the patches from the above file. Gave it a high revision number to avoid conflicts. This ebuild has been tested on amd64 and x86.
This patch fixes the error: array has incomplete element type. on line 279 of include/wine/port.h. I encountered this error when trying to build winetest.exe. I am thinking it is due to gcc4's new strictness. This patch made it into wine on 7/15/2007, woohoo! =)
This patch adds the needed headers to w32api to allow the new gdiplus test to compile. Based on the gdiplus.spec file.
Adds some more uuids for testing goodness
Lets the msi tests keep on buildin'.
New dll, new lib
This patch applies against binutils 2.17 and allows windres to work on 64bit machines. There is a better patch in binutils cvs right now from Tietz but it doesnt apply easily to the 2.17 release so I had to write this in order to get this working. When 2.18 comes out you won't need this anymore.
An ebuild to apply the windres patch from above. High revision number to avoid conflicts.
A small script to do the most tedious part of the spec file to def file conversion for you. Hopefully makes it a bit simpler to keep things running testing wise with mingw. Only handles the basic spec file format.
Stubs of DllRegisterServer DllUnregisterServer DllMain DllGetClassObject DllCanUnloadNow
Small spec file of all of the exported functions in inkobj.dll according to the psdk program depends
Makefile.in to generate the makefile needed to build inkobj.dlli. I also have modified the appropriate files to allow a "make" command from wine-git root directory to build inkobj.dll I just haven't made patches for them yet.
IDL file that generates the headers for inkobj.dll. This file was rewritten based on the OLE/COM object viewer's generated IDL file.