diff options
author | joerg <joerg@pkgsrc.org> | 2006-04-28 16:19:27 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-04-28 16:19:27 +0000 |
commit | c586c1ee199fa18bf4e0b84772fc334fab03bea9 (patch) | |
tree | 07a0968e94c88f0b7992c19992c586b73a4662ae /games/spaceracer/patches/patch-aa | |
parent | cd51e1745a654848fea94f393d0f6c50440ea0bf (diff) | |
download | pkgsrc-c586c1ee199fa18bf4e0b84772fc334fab03bea9.tar.gz |
Fix C++ for GCC 3.4+.
Diffstat (limited to 'games/spaceracer/patches/patch-aa')
-rw-r--r-- | games/spaceracer/patches/patch-aa | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games/spaceracer/patches/patch-aa b/games/spaceracer/patches/patch-aa new file mode 100644 index 00000000000..746d81006cc --- /dev/null +++ b/games/spaceracer/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2006/04/28 16:19:27 joerg Exp $ + +--- src/physique/sp_circuit.cpp.orig 2006-04-28 15:52:33.000000000 +0000 ++++ src/physique/sp_circuit.cpp +@@ -169,7 +169,7 @@ void OctoTree<T>::FindList(list<T> &l,co + template<class T> + void OctoTree<T>::Add_Liste(list<T> &l,list<T> &l2) + { +- typedef list<T>::iterator iter; ++ typedef typename list<T>::iterator iter; + for(iter i=l2.begin();i!=l2.end();i++){ + l.push_back(*i); + } |