Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Feb 2017 20:05:16 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433909 - head/games/criticalmass
Message-ID:  <201702112005.v1BK5GtM046159@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702112005.v1BK5GtM046159>