Bug 145223 - ports/vegastrike fails to compile due to png update
Summary: ports/vegastrike fails to compile due to png update
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-30 23:20 UTC by rnejdl
Modified: 2010-04-01 06:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rnejdl 2010-03-30 23:20:06 UTC
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.
Comment 1 Dirk Meyer freebsd_committer freebsd_triage 2010-03-31 12:41:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

I will take care of it.
Comment 2 Dirk Meyer freebsd_committer freebsd_triage 2010-04-01 05:59:13 UTC
State Changed
From-To: open->closed

A fix is committed, thanks.
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-04-01 05:59:13 UTC
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"