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)
in portage. thanks for the bug report and patch.