diff options
Diffstat (limited to 'games-board/freedoko/files/freedoko-0.7.3-gcc43.patch')
-rw-r--r-- | games-board/freedoko/files/freedoko-0.7.3-gcc43.patch | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/games-board/freedoko/files/freedoko-0.7.3-gcc43.patch b/games-board/freedoko/files/freedoko-0.7.3-gcc43.patch new file mode 100644 index 000000000000..322b7e010fc4 --- /dev/null +++ b/games-board/freedoko/files/freedoko-0.7.3-gcc43.patch @@ -0,0 +1,74 @@ +--- src/misc/translator.h.old 2008-11-11 20:53:05.000000000 +0100 ++++ src/misc/translator.h 2008-11-11 20:53:47.000000000 +0100 +@@ -80,15 +80,15 @@ + Translator& operator=(Translator const&); + }; // class Translator + +-Translator::Translation operator+(Translator::Translation const& translation, +- Translator::Translation const& translation); ++Translator::Translation operator+(Translator::Translation const& translation1, ++ Translator::Translation const& translation2); + Translator::Translation operator+(Translator::Translation const& translation, + string const& text); + Translator::Translation operator+(string const& text, + Translator::Translation const& translation); + +-bool operator==(Translator::Translation const& translation, +- Translator::Translation const& translation); ++bool operator==(Translator::Translation const& translation1, ++ Translator::Translation const& translation2); + bool operator==(Translator::Translation const& translation, + string const& text); + bool operator==(string const& text, +--- src/debug.h.old 2008-11-11 21:00:37.000000000 +0100 ++++ src/debug.h 2008-11-11 21:00:53.000000000 +0100 +@@ -81,6 +81,7 @@ + #include <iostream> + #include <sstream> + #include <string> ++#include <stdlib.h> + using namespace std; + + #ifndef VOID +--- src/constants.h.old 2008-11-11 21:11:09.000000000 +0100 ++++ src/constants.h 2008-11-11 21:11:30.000000000 +0100 +@@ -44,6 +44,8 @@ + #include <sstream> + #include <algorithm> + ++#include <limits.h> ++#include <string.h> + // for temporary output + #define COUT cout + +--- src/class/getopt/option.cpp.old 2008-11-12 19:15:41.000000000 +0100 ++++ src/class/getopt/option.cpp 2008-11-12 19:16:53.000000000 +0100 +@@ -26,6 +26,8 @@ + #include "getopt.h" + + #include <iostream> ++#include <stdlib.h> ++#include <limits.h> + + using namespace GetOpt; + +--- src/utils/file.cpp.old 2008-11-12 19:54:40.000000000 +0100 ++++ src/utils/file.cpp 2008-11-12 19:55:32.000000000 +0100 +@@ -32,6 +32,7 @@ + // for getpwent + #include <pwd.h> + #include <unistd.h> ++#include <stdlib.h> + #endif + + using std::string; +--- src/utils/date.cpp.old 2008-11-12 20:20:11.000000000 +0100 ++++ src/utils/date.cpp 2008-11-12 20:21:32.000000000 +0100 +@@ -27,6 +27,7 @@ + + #include <fstream> + #include <sstream> ++#include <stdlib.h> + using std::ostream; + using std::istream; + using std::ifstream; |