Philip Paeps <[email protected]> writes:

> philip      2009-10-01 09:28:42 UTC
>
>   FreeBSD ports repository
>
>   Modified files:
>     games/wesnoth-devel  Makefile distinfo pkg-plist 
>   Removed files:
>     games/wesnoth-devel/files patch-multiplayer_connect.cpp 
>   Log:
>   Update to 1.7.6.
>   
>   
> http://svn.gna.org/viewcvs/wesnoth/tags/1.7.6/changelog?rev=38890&view=download
>   
>   While here:
>   
>     o Use GCC 4.2+ to fix build on 6.x

I'm not sure using `+' is a good idea. I can compile it using g++42
and g++43 but it fails on linking when using g++44[1] and g++45.

Hmm, bsd.gcc.mk does not appear to support ranges like bsd.python.mk,

    USE_GCC=    4.2-4.3

doesn't work. Unless someone wants to fix that file following

    .MAKEFLAGS: GCCVERSIONS="040200 040300"

can be used to limit GCC to 4.2 and 4.3.

>     o Pacify portlint about out-of-order PKGNAMESUFFIX
>   
>   PR:             ports/139274
>   Submitted by:   Anonymous <[email protected]>

[1] $ make CXX=g++44
    ...
g++44 ... -o wesnoth ...
/usr/local/lib/gcc44/libssp.so.0: warning: warning: this program uses gets(), 
which is unsafe.
game.o: In function `(anonymous 
namespace)::game_controller::game_controller(int, char**)':
game.cpp:(.text+0x9e98): undefined reference to 
`std::ctype<char>::_M_widen_init() const'
actions.o: In function `attack::attack(map_location const&, map_location 
const&, int, int, bool)':
actions.cpp:(.text+0x187c1): undefined reference to 
`std::ctype<char>::_M_widen_init() const'
addon_management.o: In function `archive_addon(std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, config&)':
addon_management.cpp:(.text+0xb6e7): undefined reference to 
`std::ctype<char>::_M_widen_init() const'
ai/actions.o: In function `ai::action_result::~action_result()':
actions.cpp:(.text+0xc09): undefined reference to 
`std::ctype<char>::_M_widen_init() const'
ai/actions.o: In function `ai::action_result::~action_result()':
actions.cpp:(.text+0xdb4): undefined reference to 
`std::ctype<char>::_M_widen_init() const'
ai/actions.o:actions.cpp:(.text+0x1047): more undefined references to 
`std::ctype<char>::_M_widen_init() const' follow
collect2: ld returned 1 exit status
gmake[2]: *** [wesnoth] Error 1
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to