diff options
author | 2008-04-24 02:01:31 +0000 | |
---|---|---|
committer | 2008-04-24 02:01:31 +0000 | |
commit | a4d31dedadb0a58f47b7aa1b137d72027cce8ab0 (patch) | |
tree | fcf75e85a879ffdd26df3f731834ec1e5b5da2a0 /games-puzzle/fish-fillets/files | |
parent | whitespace (diff) | |
download | gentoo-2-a4d31dedadb0a58f47b7aa1b137d72027cce8ab0.tar.gz gentoo-2-a4d31dedadb0a58f47b7aa1b137d72027cce8ab0.tar.bz2 gentoo-2-a4d31dedadb0a58f47b7aa1b137d72027cce8ab0.zip |
add patch for building with gcc-4.3 submitted by Martin Väth via bug #218954
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-puzzle/fish-fillets/files')
-rw-r--r-- | games-puzzle/fish-fillets/files/fish-fillets-0.8.0-gcc43.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/games-puzzle/fish-fillets/files/fish-fillets-0.8.0-gcc43.patch b/games-puzzle/fish-fillets/files/fish-fillets-0.8.0-gcc43.patch new file mode 100644 index 000000000000..b81f207aa3bf --- /dev/null +++ b/games-puzzle/fish-fillets/files/fish-fillets-0.8.0-gcc43.patch @@ -0,0 +1,32 @@ +--- src/gengine/OptionAgent.cpp ++++ src/gengine/OptionAgent.cpp +@@ -23,7 +23,8 @@ + #include "UnknownMsgException.h" + #include "minmax.h" + +-#include <string.h> //strlen ++#include <cstring> //strlen ++#include <cstdlib> + #include <locale.h> //setlocale + + #ifndef LC_MESSAGES +--- src/gengine/StringTool.cpp ++++ src/gengine/StringTool.cpp +@@ -9,6 +9,7 @@ + #include "StringTool.h" + + #include <sstream> ++#include <cstdlib> + + //----------------------------------------------------------------- + /** +--- src/level/Landslip.cpp ++++ src/level/Landslip.cpp +@@ -10,6 +10,7 @@ + + #include "Rules.h" + #include "minmax.h" ++#include <cstring> + + //----------------------------------------------------------------- + Landslip::Landslip(const ModelList &models) |