aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2013-10-03 08:47:29 +0800
committermarino <marino@FreeBSD.org>2013-10-03 08:47:29 +0800
commitd15addac78c821bb03aac9632bfc036f8da335a1 (patch)
treefb7dec6de3da4a61ae68daa1a5b1af13f5705ef4 /games
parent6ccaeb26a5fd2d84feac82b6cd1527f76765fa27 (diff)
downloadfreebsd-ports-gnome-d15addac78c821bb03aac9632bfc036f8da335a1.tar.gz
freebsd-ports-gnome-d15addac78c821bb03aac9632bfc036f8da335a1.tar.zst
freebsd-ports-gnome-d15addac78c821bb03aac9632bfc036f8da335a1.zip
games/lordsawar: Fix c++ -fpermissive error on gcc 4.7+
Diffstat (limited to 'games')
-rw-r--r--games/lordsawar/files/patch-src_LocationList.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/lordsawar/files/patch-src_LocationList.h b/games/lordsawar/files/patch-src_LocationList.h
new file mode 100644
index 000000000000..e115fccd3b83
--- /dev/null
+++ b/games/lordsawar/files/patch-src_LocationList.h
@@ -0,0 +1,11 @@
+--- src/LocationList.h.orig 2010-05-11 08:50:34.000000000 +0000
++++ src/LocationList.h
+@@ -55,7 +55,7 @@ template<class T> class LocationList : p
+
+ void add(T t)
+ {
+- push_back(t);
++ this->push_back(t);
+ d_id[t->getId()] = t;
+ int size = t->getSize();
+ for (int i = 0; i < size; i++)