Gentoo Archives: gentoo-commits

From: "Tristan Heaven (nyhm)" <nyhm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-puzzle/amoebax/files: amoebax-0.2.0-gcc43.patch
Date: Sun, 04 May 2008 20:54:01
Message-Id: E1JslDS-0005aq-PP@stork.gentoo.org
1 nyhm 08/05/04 20:53:50
2
3 Added: amoebax-0.2.0-gcc43.patch
4 Log:
5 Fix building with gcc-4.3
6 (Portage version: 2.1.5_rc6)
7
8 Revision Changes Path
9 1.1 games-puzzle/amoebax/files/amoebax-0.2.0-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/amoebax/files/amoebax-0.2.0-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/amoebax/files/amoebax-0.2.0-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: amoebax-0.2.0-gcc43.patch
15 ===================================================================
16 --- src/ControlSetupState.cxx
17 +++ src/ControlSetupState.cxx
18 @@ -20,6 +20,7 @@
19 #include <config.h>
20 #endif // !HAVE_CONFIG_H
21 #include <sstream>
22 +#include <cstdlib>
23 #include "ControlSetupState.h"
24 #include "File.h"
25 #include "Joystick.h"
26 --- src/Font.cxx
27 +++ src/Font.cxx
28 @@ -23,6 +23,7 @@
29 #include <config.h>
30 #endif // HAVE_CONFIG_H
31 #include <numeric>
32 +#include <algorithm>
33 #include <SDL.h>
34 #include "Font.h"
35
36 --- src/Joystick.cxx
37 +++ src/Joystick.cxx
38 @@ -19,6 +19,7 @@
39 #if defined (HAVE_CONFIG_H)
40 #include <config.h>
41 #endif // !HAVE_CONFIG_H
42 +#include <cstdlib>
43 #include "Joystick.h"
44
45 using namespace Amoebax;
46 --- src/MainMenuState.cxx
47 +++ src/MainMenuState.cxx
48 @@ -19,6 +19,7 @@
49 #if defined (HAVE_CONFIG_H)
50 #include <config.h>
51 #endif // HAVE_CONFIG_H
52 +#include <algorithm>
53 #include <SDL.h>
54 #include "AdvancedAIPlayer.h"
55 #include "AnticipatoryAIPlayer.h"
56 --- src/OptionsMenuState.cxx
57 +++ src/OptionsMenuState.cxx
58 @@ -20,6 +20,7 @@
59 #include <config.h>
60 #endif // HAVE_CONFIG_H
61 #include <SDL.h>
62 +#include <algorithm>
63 #include <sstream>
64 #include "ControlSetupState.h"
65 #include "File.h"
66 --- src/Sound.h
67 +++ src/Sound.h
68 @@ -19,6 +19,7 @@
69 #if !defined (AMOEBAX_SOUND_H)
70 #define AMOEBAX_SOUND_H
71
72 +#include <string>
73 #include <SDL_mixer.h>
74
75 namespace Amoebax
76 --- src/System.cxx
77 +++ src/System.cxx
78 @@ -19,7 +19,8 @@
79 #if defined (HAVE_CONFIG_H)
80 #include <config.h>
81 #endif // HAVE_CONFIG_H
82 -#include <assert.h>
83 +#include <algorithm>
84 +#include <cassert>
85 #include <cstdlib>
86 #include <iostream>
87 #include <limits>
88 --- src/TwoPlayersState.cxx
89 +++ src/TwoPlayersState.cxx
90 @@ -19,6 +19,7 @@
91 #if defined (HAVE_CONFIG_H)
92 #include <config.h>
93 #endif // HAVE_CONFIG_H
94 +#include <algorithm>
95 #include <cassert>
96 #include <SDL.h>
97 #include <sstream>
98
99
100
101 --
102 gentoo-commits@l.g.o mailing list