summaryrefslogtreecommitdiff
path: root/games/spaceracer
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-04-28 16:19:27 +0000
committerjoerg <joerg@pkgsrc.org>2006-04-28 16:19:27 +0000
commitc586c1ee199fa18bf4e0b84772fc334fab03bea9 (patch)
tree07a0968e94c88f0b7992c19992c586b73a4662ae /games/spaceracer
parentcd51e1745a654848fea94f393d0f6c50440ea0bf (diff)
downloadpkgsrc-c586c1ee199fa18bf4e0b84772fc334fab03bea9.tar.gz
Fix C++ for GCC 3.4+.
Diffstat (limited to 'games/spaceracer')
-rw-r--r--games/spaceracer/distinfo3
-rw-r--r--games/spaceracer/patches/patch-aa13
2 files changed, 15 insertions, 1 deletions
diff --git a/games/spaceracer/distinfo b/games/spaceracer/distinfo
index 90c259c8aff..9e82bd36f87 100644
--- a/games/spaceracer/distinfo
+++ b/games/spaceracer/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/03/09 14:08:44 rillig Exp $
+$NetBSD: distinfo,v 1.2 2006/04/28 16:19:27 joerg Exp $
SHA1 (spaceracer-0.2.4.tgz) = 57fea82636c2d1c9b77b81db5b8828c385b31c98
RMD160 (spaceracer-0.2.4.tgz) = 610ed143324d815fc5066eb33c8625d7f4f80b2e
Size (spaceracer-0.2.4.tgz) = 992616 bytes
+SHA1 (patch-aa) = 777c257d6a13d46bb40a715e7f2033f45427ed28
SHA1 (patch-acinclude) = b3126a339641f984a35f544653c8528a630902b0
SHA1 (patch-configurein) = 6bc5f82b42fd7edad062271d1689196ece4126df
SHA1 (patch-loopercpp) = a81f8570cb9ebb2de80b03f4093fc028179b82af
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);
+ }