From ee5e88e0428ca140eb0e9507dbe35138770d9c46 Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Sun, 4 May 2008 20:53:50 +0000 Subject: Fix building with gcc-4.3 (Portage version: 2.1.5_rc6) --- .../amoebax/files/amoebax-0.2.0-gcc43.patch | 82 ++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 games-puzzle/amoebax/files/amoebax-0.2.0-gcc43.patch (limited to 'games-puzzle/amoebax/files') 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 + #endif // !HAVE_CONFIG_H + #include ++#include + #include "ControlSetupState.h" + #include "File.h" + #include "Joystick.h" +--- src/Font.cxx ++++ src/Font.cxx +@@ -23,6 +23,7 @@ + #include + #endif // HAVE_CONFIG_H + #include ++#include + #include + #include "Font.h" + +--- src/Joystick.cxx ++++ src/Joystick.cxx +@@ -19,6 +19,7 @@ + #if defined (HAVE_CONFIG_H) + #include + #endif // !HAVE_CONFIG_H ++#include + #include "Joystick.h" + + using namespace Amoebax; +--- src/MainMenuState.cxx ++++ src/MainMenuState.cxx +@@ -19,6 +19,7 @@ + #if defined (HAVE_CONFIG_H) + #include + #endif // HAVE_CONFIG_H ++#include + #include + #include "AdvancedAIPlayer.h" + #include "AnticipatoryAIPlayer.h" +--- src/OptionsMenuState.cxx ++++ src/OptionsMenuState.cxx +@@ -20,6 +20,7 @@ + #include + #endif // HAVE_CONFIG_H + #include ++#include + #include + #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 + #include + + namespace Amoebax +--- src/System.cxx ++++ src/System.cxx +@@ -19,7 +19,8 @@ + #if defined (HAVE_CONFIG_H) + #include + #endif // HAVE_CONFIG_H +-#include ++#include ++#include + #include + #include + #include +--- src/TwoPlayersState.cxx ++++ src/TwoPlayersState.cxx +@@ -19,6 +19,7 @@ + #if defined (HAVE_CONFIG_H) + #include + #endif // HAVE_CONFIG_H ++#include + #include + #include + #include -- cgit v1.2.3-65-gdbad