From nobody@FreeBSD.org  Tue Mar 30 22:16:47 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A10441065670
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Mar 2010 22:16:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 7FB3A8FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Mar 2010 22:16:47 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o2UMGlJN050924
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Mar 2010 22:16:47 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o2UMGlUS050923;
	Tue, 30 Mar 2010 22:16:47 GMT
	(envelope-from nobody)
Message-Id: <201003302216.o2UMGlUS050923@www.freebsd.org>
Date: Tue, 30 Mar 2010 22:16:47 GMT
From: Rusty Nejdl <rnejdl@ringofsaturn.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ports/vegastrike fails to compile due to png update
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         145223
>Category:       ports
>Synopsis:       ports/vegastrike fails to compile due to png update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dinoex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 30 22:20:06 UTC 2010
>Closed-Date:    Thu Apr 01 06:59:36 CEST 2010
>Last-Modified:  Thu Apr  1 05:00:14 UTC 2010
>Originator:     Rusty Nejdl
>Release:        8-STABLE AMD64
>Organization:
>Environment:
FreeBSD tethys.ringofsaturn.com 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Mar 12 10:39:31 CST 2010     root@tethys.ringofsaturn.com:/usr/obj/usr/src/sys/SATURN  amd64

>Description:
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.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->dinoex 
Responsible-Changed-By: dinoex 
Responsible-Changed-When: Wed Mar 31 13:41:20 CEST 2010 
Responsible-Changed-Why:  
I will take care of it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145223 
State-Changed-From-To: open->closed 
State-Changed-By: dinoex 
State-Changed-When: Thu Apr 1 06:59:13 CEST 2010 
State-Changed-Why:  
A fix is committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145223 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/145223: commit references a PR
Date: Thu,  1 Apr 2010 04:59:13 +0000 (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"
 
>Unformatted:
