summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/freelords/files/freelords-0.3.3-gcc-3.4.patch')
-rw-r--r--games-strategy/freelords/files/freelords-0.3.3-gcc-3.4.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-strategy/freelords/files/freelords-0.3.3-gcc-3.4.patch b/games-strategy/freelords/files/freelords-0.3.3-gcc-3.4.patch
new file mode 100644
index 000000000000..702bc99bf028
--- /dev/null
+++ b/games-strategy/freelords/files/freelords-0.3.3-gcc-3.4.patch
@@ -0,0 +1,11 @@
+--- src/ObjectList.cpp.old 2004-11-05 07:17:55.928861736 +0000
++++ src/ObjectList.cpp 2004-11-05 07:06:58.624787144 +0000
+@@ -27,7 +27,7 @@
+
+ template<class T> T* ObjectList<T>::getObjectAt(int x, int y)
+ {
+- for (typename ObjectList<T>::iterator it = begin(); it != end(); ++it)
++ for (typename ObjectList<T>::iterator it = this->begin(); it != this->end(); ++it)
+ {
+ PG_Point p = (*it).getPos();
+ int size = (*it).getSize() - 1;