Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355123 - games-server/crossfire-server-1.11.0: compilation fails with media-libs/libpng-1.5.x
Summary: games-server/crossfire-server-1.11.0: compilation fails with media-libs/libpn...
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:
Whiteboard:
Keywords:
Depends on:
Blocks: libpng-1.5
  Show dependency tree
 
Reported: 2011-02-15 22:37 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2011-02-21 14:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-02-15 22:37:22 UTC
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I../include -I./include -I./Cnv -DDATADIR=\"/usr/share/games/crossfire\" -DLIBDIR=\"/usr/games/lib/crossfire\" -DLOCALDIR=\"/var/games/crossfire\"   -march=barcelona -O2 -pipe -c xutil.c
In file included from xutil.c:38:0:
png.c: In function ‘png_to_xpixmap’:
png.c:272:9: error: dereferencing pointer to incomplete type
png.c:281:4: warning: passing argument 3 of ‘png_get_IHDR’ from incompatible pointer type
/usr/include/png.h:1823:1: note: expected ‘png_uint_32 *’ but argument is of type ‘long unsigned int *’
png.c:281:4: warning: passing argument 4 of ‘png_get_IHDR’ from incompatible pointer type
/usr/include/png.h:1823:1: note: expected ‘png_uint_32 *’ but argument is of type ‘long unsigned int *’
png.c:332:4: warning: passing argument 3 of ‘png_get_IHDR’ from incompatible pointer type
/usr/include/png.h:1823:1: note: expected ‘png_uint_32 *’ but argument is of type ‘long unsigned int *’
png.c:332:4: warning: passing argument 4 of ‘png_get_IHDR’ from incompatible pointer type
/usr/include/png.h:1823:1: note: expected ‘png_uint_32 *’ but argument is of type ‘long unsigned int *’
make[2]: *** [xutil.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/games-server/crossfire-server-1.11.0/work/crossfire-1.11.0/crossedit'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/games-server/crossfire-server-1.11.0/work/crossfire-1.11.0/crossedit'
make: *** [all-recursive] Error 1
emake failed
Comment 1 Tupone Alfredo gentoo-dev 2011-02-21 14:20:16 UTC
The fix for it is now in the tree, and compilation now complete.
It "should" also run fine, but I haven't done any further testing.
Thanks for report.