diff options
Diffstat (limited to 'games-arcade/cob/files')
-rw-r--r-- | games-arcade/cob/files/cob-0.9-gcc43.patch | 26 | ||||
-rw-r--r-- | games-arcade/cob/files/cob-0.9-gcc44.patch | 30 |
2 files changed, 56 insertions, 0 deletions
diff --git a/games-arcade/cob/files/cob-0.9-gcc43.patch b/games-arcade/cob/files/cob-0.9-gcc43.patch new file mode 100644 index 000000000000..bc7e6fb3e02c --- /dev/null +++ b/games-arcade/cob/files/cob-0.9-gcc43.patch @@ -0,0 +1,26 @@ +--- a/cob/menu.cpp ++++ b/cob/menu.cpp +@@ -16,6 +16,7 @@ + ***************************************************************************/ + + #include "cob.hxx" ++#include <cstring> + + // ************************************************************************************************************************** + // +--- a/cob/sdw.hxx ++++ b/cob/sdw.hxx +@@ -19,6 +19,7 @@ +
+ #include <iostream>
+ #include <string>
++#include <cstdlib>
+
+ namespace SDLWrapper // It's all nicely in a namespace SDLWrapper
+ {
+@@ -192,4 +193,4 @@ + AudioNoise(int l) : AudioBeep(0,l) { }
+ };
+
+-};
++}
diff --git a/games-arcade/cob/files/cob-0.9-gcc44.patch b/games-arcade/cob/files/cob-0.9-gcc44.patch new file mode 100644 index 000000000000..02b4842617f2 --- /dev/null +++ b/games-arcade/cob/files/cob-0.9-gcc44.patch @@ -0,0 +1,30 @@ +--- a/cob/game.cpp ++++ b/cob/game.cpp +@@ -15,6 +15,7 @@ + * * + ***************************************************************************/ + ++#include <cstdio> + #include "cob.hxx" + + // ************************************************************************************************************************** +--- a/cob/main.cpp ++++ b/cob/main.cpp +@@ -15,6 +15,7 @@ + * * + ***************************************************************************/ + ++#include <cstdio> + #include "cob.hxx" + + // ************************************************************************************************************************** +--- a/cob/map.cpp ++++ b/cob/map.cpp +@@ -15,6 +15,7 @@ + * * + ***************************************************************************/ + ++#include <cstdio> + #include "cob.hxx" + + // ************************************************************************************************************************** |