I am unable to compile vegastrike and receive the following error: c++ -DHAVE_CONFIG_H -I. -I./boost/1_33 -I/usr/local/include -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -I/usr/local/include -DHAVE_OGG -DDATA_DIR=\"/usr/local/share/vegastrike\" -I/usr/local/include/python2.5 -DHAVE_PYTHON=1 -I./src -pipe -O2 -pipe -march=nocona -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/gfx/vsimage.o -MD -MP -MF $depbase.Tpo -c -o src/gfx/vsimage.o src/gfx/vsimage.cpp &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/gfx/warptrail.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ c++ -DHAVE_CONFIG_H -I. -I./boost/1_33 -I/usr/local/include -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -I/usr/local/include -DHAVE_OGG -DDATA_DIR=\"/usr/local/share/vegastrike\" -I/usr/local/include/python2.5 -DHAVE_PYTHON=1 -I./src -pipe -O2 -pipe -march=nocona -fno-strict-aliasing -I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/gfx/warptrail.o -MD -MP -MF $depbase.Tpo -c -o src/gfx/warptrail.o src/gfx/warptrail.cpp &&\ mv -f $depbase.Tpo $depbase.Po src/gfx/vsimage.cpp: In member function 'VSFileSystem::VSError VSImage::CheckPNGSignature(VSFileSystem::VSFile*)': src/gfx/vsimage.cpp:150: error: 'png_check_sig' was not declared in this scope src/gfx/vsimage.cpp: In member function 'unsigned char* VSImage::ReadPNG()': src/gfx/vsimage.cpp:352: error: 'png_set_gray_1_2_4_to_8' was not declared in this scope src/gfx/vsimage.cpp: In member function 'VSFileSystem::VSError VSImage::WritePNG(unsigned char*)': src/gfx/vsimage.cpp:868: warning: 'jmpbuf' is deprecated (declared at /usr/local/include/png.h:1090) src/gfx/vsimage.cpp:868: warning: 'jmpbuf' is deprecated (declared at /usr/local/include/png.h:1090) gmake[1]: *** [src/gfx/vsimage.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... src/gfx/vdu.cpp: In function 'char* GetColorFromSuccess(float)': src/gfx/vdu.cpp:1457: warning: deprecated conversion from string constant to 'char*' src/gfx/vdu.cpp:1459: warning: deprecated conversion from string constant to 'char*' gmake[1]: Leaving directory `/usr/ports/games/vegastrike/work/vegastrike-0.5.0' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/games/vegastrike. *** Error code 1 Stop in /usr/ports/games/vegastrike. Exit 1 How-To-Repeat: Try to compile vegastrike with a current port tree.
Responsible Changed From-To: freebsd-ports-bugs->dinoex I will take care of it.
State Changed From-To: open->closed A fix is committed, thanks.
dinoex 2010-04-01 04:59:04 UTC FreeBSD ports repository Added files: games/vegastrike/files patch-objconv-basemaker-base_maker_texture.cpp patch-src-gfx-vsimage.cpp Log: - fix build for png-1.4.1 PR: 145223 Revision Changes Path 1.1 +20 -0 ports/games/vegastrike/files/patch-objconv-basemaker-base_maker_texture.cpp (new) 1.1 +20 -0 ports/games/vegastrike/files/patch-src-gfx-vsimage.cpp (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"