diff options
author | 2008-05-04 20:53:50 +0000 | |
---|---|---|
committer | 2008-05-04 20:53:50 +0000 | |
commit | ee5e88e0428ca140eb0e9507dbe35138770d9c46 (patch) | |
tree | f5145041c6979e9e27d00e4aafb3d6bf117899fc /games-puzzle/amoebax/files | |
parent | fix DESCRIPTION.toolongs (diff) | |
download | gentoo-2-ee5e88e0428ca140eb0e9507dbe35138770d9c46.tar.gz gentoo-2-ee5e88e0428ca140eb0e9507dbe35138770d9c46.tar.bz2 gentoo-2-ee5e88e0428ca140eb0e9507dbe35138770d9c46.zip |
Fix building with gcc-4.3
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'games-puzzle/amoebax/files')
-rw-r--r-- | games-puzzle/amoebax/files/amoebax-0.2.0-gcc43.patch | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/games-puzzle/amoebax/files/amoebax-0.2.0-gcc43.patch b/games-puzzle/amoebax/files/amoebax-0.2.0-gcc43.patch new file mode 100644 index 000000000000..2ee119d5c6c0 --- /dev/null +++ b/games-puzzle/amoebax/files/amoebax-0.2.0-gcc43.patch @@ -0,0 +1,82 @@ +--- src/ControlSetupState.cxx ++++ src/ControlSetupState.cxx +@@ -20,6 +20,7 @@ + #include <config.h> + #endif // !HAVE_CONFIG_H + #include <sstream> ++#include <cstdlib> + #include "ControlSetupState.h" + #include "File.h" + #include "Joystick.h" +--- src/Font.cxx ++++ src/Font.cxx +@@ -23,6 +23,7 @@ + #include <config.h> + #endif // HAVE_CONFIG_H + #include <numeric> ++#include <algorithm> + #include <SDL.h> + #include "Font.h" + +--- src/Joystick.cxx ++++ src/Joystick.cxx +@@ -19,6 +19,7 @@ + #if defined (HAVE_CONFIG_H) + #include <config.h> + #endif // !HAVE_CONFIG_H ++#include <cstdlib> + #include "Joystick.h" + + using namespace Amoebax; +--- src/MainMenuState.cxx ++++ src/MainMenuState.cxx +@@ -19,6 +19,7 @@ + #if defined (HAVE_CONFIG_H) + #include <config.h> + #endif // HAVE_CONFIG_H ++#include <algorithm> + #include <SDL.h> + #include "AdvancedAIPlayer.h" + #include "AnticipatoryAIPlayer.h" +--- src/OptionsMenuState.cxx ++++ src/OptionsMenuState.cxx +@@ -20,6 +20,7 @@ + #include <config.h> + #endif // HAVE_CONFIG_H + #include <SDL.h> ++#include <algorithm> + #include <sstream> + #include "ControlSetupState.h" + #include "File.h" +--- src/Sound.h ++++ src/Sound.h +@@ -19,6 +19,7 @@ + #if !defined (AMOEBAX_SOUND_H) + #define AMOEBAX_SOUND_H + ++#include <string> + #include <SDL_mixer.h> + + namespace Amoebax +--- src/System.cxx ++++ src/System.cxx +@@ -19,7 +19,8 @@ + #if defined (HAVE_CONFIG_H) + #include <config.h> + #endif // HAVE_CONFIG_H +-#include <assert.h> ++#include <algorithm> ++#include <cassert> + #include <cstdlib> + #include <iostream> + #include <limits> +--- src/TwoPlayersState.cxx ++++ src/TwoPlayersState.cxx +@@ -19,6 +19,7 @@ + #if defined (HAVE_CONFIG_H) + #include <config.h> + #endif // HAVE_CONFIG_H ++#include <algorithm> + #include <cassert> + #include <SDL.h> + #include <sstream> |