Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 181875

Summary: dev-util/w32api - add headers so wine can build against it
Product: Gentoo Linux Reporter: John Klehm <xixsimplicityxix>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Additional headers to allow wine to build against w32api
ebuild that applies the patches to dev-util/w32api

Description John Klehm 2007-06-13 08:15:46 UTC
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
Comment 1 John Klehm 2007-06-13 08:19:09 UTC
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
Comment 2 John Klehm 2007-06-13 08:23:27 UTC
Created attachment 121905 [details]
ebuild that applies the patches to dev-util/w32api

http://klehm.net/w32api-3.9-r9.ebuild
Comment 3 John Klehm 2007-06-13 08:26:15 UTC
FYI make crosstest not work on amd64.  I have tested it on x86. 
Comment 5 SpanKY gentoo-dev 2007-06-13 08:42:36 UTC
i'd wait and see what upstream does ... let me know when they make a decision