Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2013 01:15:19 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r327202 - head/games/brainparty/files
Message-ID:  <201309140115.r8E1FJnO017089@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Sep 14 01:15:19 2013
New Revision: 327202
URL: http://svnweb.freebsd.org/changeset/ports/327202

Log:
  Fix build with clang/libc++

Added:
  head/games/brainparty/files/patch-BPGame.h   (contents, props changed)
  head/games/brainparty/files/patch-WordList.h   (contents, props changed)

Added: head/games/brainparty/files/patch-BPGame.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/brainparty/files/patch-BPGame.h	Sat Sep 14 01:15:19 2013	(r327202)
@@ -0,0 +1,11 @@
+--- BPGame.h.orig	2010-03-06 17:50:16.000000000 +0300
++++ BPGame.h	2013-09-13 22:54:50.743226510 +0400
+@@ -54,7 +54,7 @@
+ class SpriteFont;
+ 
+ struct cmp_str {
+-	bool operator()(char const *a, char const *b) {
++	bool operator()(char const *a, char const *b) const {
+ 		return std::strcmp(a, b) < 0;
+ 	}
+ };

Added: head/games/brainparty/files/patch-WordList.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/brainparty/files/patch-WordList.h	Sat Sep 14 01:15:19 2013	(r327202)
@@ -0,0 +1,11 @@
+--- WordList.h.orig	2010-03-02 16:29:45.000000000 +0300
++++ WordList.h	2013-09-13 05:51:27.977229632 +0400
+@@ -35,7 +35,7 @@
+ 	};
+ }
+ 
+-typedef hash_set<string, hash<string> > string_hash_set;
++typedef hash_set<string, __gnu_cxx::hash<string> > string_hash_set;
+ 
+ class WordList {
+ private:



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