../../common/image/ImagePng.cpp: In function ‘void user_png_error(png_struct*, const char*)’: ../../common/image/ImagePng.cpp:153: warning: ‘png_struct_def::jmpbuf’ is deprecated (declared at /usr/include/png.h:1090) ../../common/image/ImagePng.cpp:153: warning: ‘png_struct_def::jmpbuf’ is deprecated (declared at /usr/include/png.h:1090) ../../common/image/ImagePng.cpp: In member function ‘bool ImagePng::loadFromBuffer(NetBuffer&, bool)’: ../../common/image/ImagePng.cpp:192: error: ‘png_infopp_NULL’ was not declared in this scope ../../common/image/ImagePng.cpp:203: error: ‘png_infopp_NULL’ was not declared in this scope ../../common/image/ImagePng.cpp:261: error: ‘png_infopp_NULL’ was not declared in this scope ../../common/image/ImagePng.cpp:275: error: ‘png_infopp_NULL’ was not declared in this scope make[3]: *** [ImagePng.o] Error 1
Created attachment 223043 [details, diff] scorched3d-42.1-libpng14.patch converts obsolete use of defined typecast NULL pointers with NULL. This patch does NOT fix the use of deprecated png_struct_def::jmpbuf works for libpng12 as well
+ 10 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> + scorched3d-42.1.ebuild, +files/scorched3d-42.1-libpng14.patch: + Fix building with libpng14 wrt #308867 by Locke Shinseiko.