Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355065 - games-puzzle/pingus-0.7.3: compilation fails with media-libs/libpng-1.5.x
Summary: games-puzzle/pingus-0.7.3: compilation fails with media-libs/libpng-1.5.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL: http://savannah.nongnu.org/bugs/?32236
Whiteboard:
Keywords:
Depends on:
Blocks: libpng-1.5
  Show dependency tree
 
Reported: 2011-02-15 17:48 UTC by Lars Wendler (Polynomial-C)
Modified: 2011-02-15 17:58 UTC (History)
0 users

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


Attachments
pingus-0.7.3-libpng15.patch (pingus-0.7.3-libpng15.patch,406 bytes, patch)
2011-02-15 17:49 UTC, Lars Wendler (Polynomial-C)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) gentoo-dev 2011-02-15 17:48:41 UTC
i686-pc-linux-gnu-g++ -o src/screenshot.o -c -march=barcelona -O2 -pipe -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc -I/usr/include/SDL -I. -Isrc src/screenshot.cpp
src/screenshot.cpp: In static member function 'static void Screenshot::save_png(const std::string&, uint8_t*, int, int)':
src/screenshot.cpp:162:7: error: invalid use of incomplete type 'struct png_struct'
/usr/include/png.h:803:16: error: forward declaration of 'struct png_struct'
src/screenshot.cpp: In static member function 'static void Screenshot::save_ppm(const std::string&, uint8_t*, int, int)':
src/screenshot.cpp:128:65: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
scons: *** [src/screenshot.o] Error 1
Comment 1 Lars Wendler (Polynomial-C) gentoo-dev 2011-02-15 17:49:49 UTC
Created attachment 262629 [details, diff]
pingus-0.7.3-libpng15.patch

Patch from NetBSD people.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2011-02-15 17:58:05 UTC
in portage.  thanks for the bug report and patch submission.