svn commit: r327206 - head/games/spacejunk/files

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat Sep 14 01:16:17 UTC 2013


Author: amdmi3
Date: Sat Sep 14 01:16:14 2013
New Revision: 327206
URL: http://svnweb.freebsd.org/changeset/ports/327206

Log:
  Fix build with clang/libc++

Added:
  head/games/spacejunk/files/patch-src-scorelist.cpp   (contents, props changed)

Added: head/games/spacejunk/files/patch-src-scorelist.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/spacejunk/files/patch-src-scorelist.cpp	Sat Sep 14 01:16:14 2013	(r327206)
@@ -0,0 +1,11 @@
+--- src/scorelist.cpp.orig	2013-09-14 02:20:35.651231123 +0400
++++ src/scorelist.cpp	2013-09-14 02:22:39.837225946 +0400
+@@ -98,7 +98,7 @@
+ ostream & operator << (ostream & o,const ScoreList & s) {
+     STDStreamPrinter sp(o);
+     OStreamUTF8Encoder sc(&sp);
+-    for (multimap<int,string>::const_iterator i=s.scores.begin();i!=s.scores.end();i++)
++    for (ScoreList::Map::const_iterator i=s.scores.begin();i!=s.scores.end();i++)
+         sc<<'"'<<stows(i->second)<<"\" "<<i->first<<'\n';
+     return o;
+ };


More information about the svn-ports-all mailing list