<=app-emulation/wine-1.1.38 wont build with libpng1.4, it needs libpng1.2 the ebuilds don't specify anything about libpng, but wine's 'configure' picks out the latest libpng installed and uses it. a quick fix is to just temporarily remove libpng1.4 and compile the seversions of wine. however, I hope to submit an epatch for each wine version in portage soon. Reproducible: Always Steps to Reproduce:
I was wrong about the 'quick work around' by removing libpng 1.4 and just having 1.2 installed to get it compiled. this is still a bit of a mystery a work around I'm trying now is to compile wine with --without-png (and removing the existing png line) on the econf line in the ebuild.
http://pastebin.com/JHJcpZgC output of the error, compiling wine 1.1.38
(In reply to comment #2) > http://pastebin.com/JHJcpZgC > > output of the error, compiling wine 1.1.38 Please attach that to this bug report as a file. Also, post your `emerge --info' in a comment.
Created attachment 255609 [details] emerge --info output
Created attachment 255611 [details] last 100 lines of failed emerge
As you've noticed yourself, it's fixed in more recent wine releases. You should probably look at the entries for dlls/windowscodecs/pngformat.c in wine git from around 05.02.2010
ive just punted al of the wine-1.1.x versions. i'm not wasting time on backporting this fix.