Bug 145225 - ports/games/freeorion fails to compile
Summary: ports/games/freeorion fails to compile
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-31 01:20 UTC by rnejdl
Modified: 2010-04-01 07:03 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-31 01:20:02 UTC
g++44 -o UI/CombatWnd-human.o -c -O2 -pipe -march=nocona -Wl,-rpath=/usr/local/lib/gcc44 -fno-strict-aliasing -pthread -Wall -Wno-parentheses -Wno-deprecated -DOGRE_GUI_GLX -DOGRE_NO_FREEIMAGE -DOGRE_CONFIG_LITTLE_ENDIAN -DFREEORION_RELEASE -DFREEORION_LINUX -DENABLE_BINRELOC -DFREEORION_BUILD_HUMAN -DGL_GLEXT_PROTOTYPES -I/usr/local/include/python2.6 -I/usr/local/include -I/usr/local/include/OGRE -I/usr/local/include/bullet -I/usr/local/include/graphviz -Ilog4cpp UI/CombatWnd.cpp                                                                           
In file included from UI/../GG/src/GIL/extension/io/png_io.hpp:41,              
                 from UI/../GG/src/GIL/extension/io/png_dynamic_io.hpp:37,      
                 from UI/CombatWnd.cpp:56:                                      
UI/../GG/src/GIL/extension/io/png_io_private.hpp: In member function 'void boost::gil::detail::png_reader::init()':                                             
UI/../GG/src/GIL/extension/io/png_io_private.hpp:183: error: 'png_infopp_NULL' was not declared in this scope                                                   
UI/../GG/src/GIL/extension/io/png_io_private.hpp:188: error: 'png_infopp_NULL' was not declared in this scope                                                   
UI/../GG/src/GIL/extension/io/png_io_private.hpp: In destructor 'boost::gil::detail::png_reader::~png_reader()':                                                
UI/../GG/src/GIL/extension/io/png_io_private.hpp:202: error: 'png_infopp_NULL' was not declared in this scope                                                   
UI/../GG/src/GIL/extension/io/png_io_private.hpp: In member function 'void boost::gil::detail::png_reader::apply(const View&)':                                 
UI/../GG/src/GIL/extension/io/png_io_private.hpp:214: error: 'int_p_NULL' was not declared in this scope                                                        
UI/../GG/src/GIL/extension/io/png_io_private.hpp: In member function 'void boost::gil::detail::png_reader_color_convert<CC>::apply(const View&)':               
UI/../GG/src/GIL/extension/io/png_io_private.hpp:290: error: 'int_p_NULL' was not declared in this scope                                                        
UI/../GG/src/GIL/extension/io/png_io_private.hpp:315: error: there are no arguments to 'png_set_gray_1_2_4_to_8' that depend on a template parameter, so a declaration of 'png_set_gray_1_2_4_to_8' must be available                           
UI/../GG/src/GIL/extension/io/png_io_private.hpp:315: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)                                                                    
UI/../GG/src/GIL/extension/io/png_io_private.hpp:353: error: there are no arguments to 'png_set_gray_1_2_4_to_8' that depend on a template parameter, so a declaration of 'png_set_gray_1_2_4_to_8' must be available
In file included from UI/../GG/src/GIL/extension/io/png_io.hpp:41,
                 from UI/../GG/src/GIL/extension/io/png_dynamic_io.hpp:37,
                 from UI/CombatWnd.cpp:56:
UI/../GG/src/GIL/extension/io/png_io_private.hpp: In member function 'void boost::gil::detail::png_writer::init()':
UI/../GG/src/GIL/extension/io/png_io_private.hpp:384: error: 'png_infopp_NULL' was not declared in this scope
In file included from UI/CombatWnd.cpp:56:
UI/../GG/src/GIL/extension/io/png_dynamic_io.hpp: In member function 'void boost::gil::detail::png_reader_dynamic::read_image(boost::gil::any_image<Types>&)':
UI/../GG/src/GIL/extension/io/png_dynamic_io.hpp:91: error: 'int_p_NULL' was not declared in this scope
UI/CombatWnd.cpp: At global scope:
UI/CombatWnd.cpp:453: warning: '<unnamed>::temp_bool' defined but not used
scons: *** [UI/CombatWnd-human.o] Error 1
scons: building terminated because of errors.
*** Error code 2

Stop in /usr/ports/games/freeorion.
Exit 1

How-To-Repeat: Try to compile freeorion on a system with latest ports tree.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-03-31 01:20:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->oliver

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Dirk Meyer freebsd_committer freebsd_triage 2010-03-31 12:43:14 UTC
Responsible Changed
From-To: oliver->dinoex

I will take care of it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-04-01 06:34:45 UTC
dinoex      2010-04-01 05:34:24 UTC

  FreeBSD ports repository

  Modified files:
    games/freeorion      Makefile 
  Log:
  - fix build for png-1.4.1
  PR:             145225
  
  Revision  Changes    Path
  1.24      +4 -0      ports/games/freeorion/Makefile
_______________________________________________
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"
Comment 4 Dirk Meyer freebsd_committer freebsd_triage 2010-04-01 07:03:13 UTC
State Changed
From-To: open->closed

A fix is committed, thanks.