svn commit: r433909 - head/games/criticalmass

Jan Beich jbeich at FreeBSD.org
Sat Feb 11 20:05:17 UTC 2017


Author: jbeich
Date: Sat Feb 11 20:05:15 2017
New Revision: 433909
URL: https://svnweb.freebsd.org/changeset/ports/433909

Log:
  games/criticalmass: unbreak with gcc6 or later
  
  In file included from Config.cpp:26:0:
  ./Config.hpp:94:63: error: template argument 3 is invalid
        hash_map< string, Value*, hash<string>, equal_to<string> > &kvmap);
                                                                 ^
  ./Config.hpp:94:63: error: template argument 3 is invalid
  ./Config.hpp:94:63: error: template argument 3 is invalid
  ./Config.hpp:94:6: error: 'hash_map' is not a type
        hash_map< string, Value*, hash<string>, equal_to<string> > &kvmap);
        ^~~~~~~~
  ./Config.hpp:94:14: error: expected ',' or '...' before '<' token
        hash_map< string, Value*, hash<string>, equal_to<string> > &kvmap);
                ^
  ./Config.hpp:97:63: error: template argument 3 is invalid
        hash_map< string, Value*, hash<string>, equal_to<string> > &kvmap);
                                                                 ^
  [...]

Modified:
  head/games/criticalmass/Makefile   (contents, props changed)

Modified: head/games/criticalmass/Makefile
==============================================================================
--- head/games/criticalmass/Makefile	Sat Feb 11 19:54:32 2017	(r433908)
+++ head/games/criticalmass/Makefile	Sat Feb 11 20:05:15 2017	(r433909)
@@ -23,6 +23,7 @@ DOS2UNIX_FILES=	tinyxml/*.cpp tinyxml/*.
 USE_XORG=	x11
 USE_GL=		gl
 USE_SDL=	image mixer sdl
+USE_CXXSTD=	gnu++98
 USE_GCC=	any
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-optimize


More information about the svn-ports-all mailing list