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

Bug 356851

Summary: games-rpg/eternal-lands-1.9.1 fails to build with media-libs/libpng-1.5
Product: Gentoo Linux Reporter: Alexis Ballier <aballier>
Component: [OLD] GamesAssignee: Richard Freeman <rich0>
Status: RESOLVED FIXED    
Severity: normal CC: games
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 354479    
Attachments: fix

Description Alexis Ballier gentoo-dev 2011-02-28 11:58:02 UTC
misc.c: In function ‘IMG_SavePNG_RW’:
misc.c:314:6: error: dereferencing pointer to incomplete type
misc.c:363:34: error: dereferencing pointer to incomplete type
misc.c:364:17: error: dereferencing pointer to incomplete type
make: *** [misc.o] Error 1
Comment 1 Alexis Ballier gentoo-dev 2011-02-28 12:08:03 UTC
Created attachment 264163 [details, diff]
fix

not upstreamed, please do it
Comment 2 Richard Freeman gentoo-dev 2011-02-28 13:14:02 UTC
Thanks - looks like upstream had half your fix in CVS already, and the other half they did differently.  I'm looking into that and will have a fix in portage soon (will try to stick with upstream if possible).
Comment 3 Richard Freeman gentoo-dev 2011-03-19 19:37:09 UTC
Ok, upstream CVS version does fix this, but has other problems.  I just committed your patch against the current release version.  I didn't do a revbump - I'm under the impression that anybody who had the new library wasn't able to install it anyway, and if anybody does update libpng they're going to have to do a rebuild anyway.