pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/spaceracer Fix C++ for GCC 3.4+.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d9a432d32542
branches:  trunk
changeset: 511996:d9a432d32542
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Apr 28 16:19:27 2006 +0000

description:
Fix C++ for GCC 3.4+.

diffstat:

 games/spaceracer/distinfo         |   3 ++-
 games/spaceracer/patches/patch-aa |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 4cd746424f39 -r d9a432d32542 games/spaceracer/distinfo
--- a/games/spaceracer/distinfo Fri Apr 28 16:19:08 2006 +0000
+++ b/games/spaceracer/distinfo Fri Apr 28 16:19:27 2006 +0000
@@ -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 -r 4cd746424f39 -r d9a432d32542 games/spaceracer/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/spaceracer/patches/patch-aa Fri Apr 28 16:19:27 2006 +0000
@@ -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);
+     }



Home | Main Index | Thread Index | Old Index