From: | "Alfredo Tupone (tupone)" <tupone@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-arcade/wop/files: wop-0.4.3-gcc43.patch |
Date: | Tue, 27 Jan 2009 14:42:18 |
Message-Id: | E1LRp8p-00009b-TH@stork.gentoo.org |
1 | tupone 09/01/27 14:42:15 |
2 | |
3 | Added: wop-0.4.3-gcc43.patch |
4 | Log: |
5 | Fix gcc-4.3 bug #253496 |
6 | (Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r8 x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 games-arcade/wop/files/wop-0.4.3-gcc43.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/wop/files/wop-0.4.3-gcc43.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/wop/files/wop-0.4.3-gcc43.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: wop-0.4.3-gcc43.patch |
15 | =================================================================== |
16 | --- src/scusibot.cpp.old 2009-01-27 15:22:39.000000000 +0100 |
17 | +++ src/scusibot.cpp 2009-01-27 15:23:10.000000000 +0100 |
18 | @@ -5,6 +5,7 @@ |
19 | #include "stationarygun.hpp" |
20 | #include "global.hpp" |
21 | #include <vector> |
22 | +#include <algorithm> |
23 | |
24 | ScusiBot::ScusiBot() |
25 | : m_event( Event::EMPTY ), m_count( 0 ), m_state( IDLE ) { |
26 | --- src/spriteset.cpp.old 2009-01-27 15:26:39.000000000 +0100 |
27 | +++ src/spriteset.cpp 2009-01-27 15:27:51.000000000 +0100 |
28 | @@ -2,6 +2,7 @@ |
29 | |
30 | #include "spriteset.hpp" |
31 | #include "global.hpp" |
32 | +#include "sprite.hpp" |
33 | |
34 | /**********************************************************/ |
35 | |
36 | @@ -17,6 +18,9 @@ |
37 | #endif // SUPPRESS_COLORING |
38 | #endif // BLACK_ |
39 | |
40 | +/* force creation of an implementation of SpriteSet<Sprite> */ |
41 | +static SpriteSet<Sprite> foo; |
42 | + |
43 | /**********************************************************/ |
44 | |
45 | template <class T> |