Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465416 - games-puzzle/neverball fails to compile with libpng-1.6
Summary: games-puzzle/neverball fails to compile with libpng-1.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL: http://forum.nevercorner.net/viewtopi...
Whiteboard:
Keywords:
Depends on:
Blocks: libpng16
  Show dependency tree
 
Reported: 2013-04-10 17:48 UTC by Bernard Cafarelli
Modified: 2013-04-10 18:15 UTC (History)
0 users

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


Attachments
Fixes compilation with libpng-1.6 (neverball-1.5.4-libpng16.patch,711 bytes, patch)
2013-04-10 17:48 UTC, Bernard Cafarelli
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Cafarelli gentoo-dev 2013-04-10 17:48:27 UTC
Created attachment 345134 [details, diff]
Fixes compilation with libpng-1.6

x86_64-pc-linux-gnu-gcc -Wall -ansi -pedantic -march=native -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -U_GNU_SOURCE -I/usr/include/libpng16 -Ishare -DVERSION=\"1.5.4\" -DCONFIG_USER=\".neverball\" -DCONFIG_DATA=\"/usr/share/games/neverball\" -DCONFIG_LOCALE=\"/usr/share/locale\" -DENABLE_NLS=1 -DNDEBUG -o share/base_image.o -c share/base_image.c
share/base_image.c: In function 'image_load_png':
share/base_image.c:97:9: warning: implicit declaration of function 'png_sizeof' [-Wimplicit-function-declaration]
share/base_image.c:97:56: error: expected expression before 'png_bytep'
make: *** [share/base_image.o] Error 1

Error is explained in forum URL: png_sizeof is no longer exported and <png.h> does not include <string.h>

The patch is already used by openSuse (and tested here, working fine)
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2013-04-10 18:15:19 UTC
in portage.  thanks for the bug report and patch.