diff options
author | John Marino <marino@FreeBSD.org> | 2013-10-03 00:47:29 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2013-10-03 00:47:29 +0000 |
commit | dc327c9edfce537962d8bc3140e4c5c75b7e14be (patch) | |
tree | fb7dec6de3da4a61ae68daa1a5b1af13f5705ef4 /games/lordsawar | |
parent | a72b5736f109131d395336971fd89d47007b4033 (diff) |
games/lordsawar: Fix c++ -fpermissive error on gcc 4.7+
Notes
Notes:
svn path=/head/; revision=329133
Diffstat (limited to 'games/lordsawar')
-rw-r--r-- | games/lordsawar/files/patch-src_LocationList.h | 11 |
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++) |