aboutsummaryrefslogtreecommitdiffstats
path: root/games/spacejunk
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-09-14 09:16:14 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-09-14 09:16:14 +0800
commitc2aa7d41db3eaec2c7099b4b86ca0c27c92742a3 (patch)
treefe81f1bdf26d910565e95457546c9209263d6631 /games/spacejunk
parent570b511c412d9b04ed0aa791291cd9a95a2a5fc3 (diff)
downloadfreebsd-ports-gnome-c2aa7d41db3eaec2c7099b4b86ca0c27c92742a3.tar.gz
freebsd-ports-gnome-c2aa7d41db3eaec2c7099b4b86ca0c27c92742a3.tar.zst
freebsd-ports-gnome-c2aa7d41db3eaec2c7099b4b86ca0c27c92742a3.zip
Fix build with clang/libc++
Diffstat (limited to 'games/spacejunk')
-rw-r--r--games/spacejunk/files/patch-src-scorelist.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/spacejunk/files/patch-src-scorelist.cpp b/games/spacejunk/files/patch-src-scorelist.cpp
new file mode 100644
index 000000000000..c6bf4489e7c6
--- /dev/null
+++ b/games/spacejunk/files/patch-src-scorelist.cpp
@@ -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;
+ };