svn commit: r327202 - head/games/brainparty/files

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat Sep 14 01:15:20 UTC 2013


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:


More information about the svn-ports-head mailing list