Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356851 - games-rpg/eternal-lands-1.9.1 fails to build with media-libs/libpng-1.5
Summary: games-rpg/eternal-lands-1.9.1 fails to build with media-libs/libpng-1.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Richard Freeman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libpng-1.5
  Show dependency tree
 
Reported: 2011-02-28 11:58 UTC by Alexis Ballier
Modified: 2011-03-19 19:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix (libpng.patch,690 bytes, patch)
2011-02-28 12:08 UTC, Alexis Ballier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.