diff options
Diffstat (limited to 'games-sports')
-rw-r--r-- | games-sports/xmoto/files/gcc4.4.patch | 36 | ||||
-rw-r--r-- | games-sports/xmoto/xmoto-9999.ebuild | 1 |
2 files changed, 37 insertions, 0 deletions
diff --git a/games-sports/xmoto/files/gcc4.4.patch b/games-sports/xmoto/files/gcc4.4.patch new file mode 100644 index 0000000..4109ea6 --- /dev/null +++ b/games-sports/xmoto/files/gcc4.4.patch @@ -0,0 +1,36 @@ +Index: src/helpers/Log.cpp +=================================================================== +--- src/helpers/Log.cpp (revision 2798) ++++ src/helpers/Log.cpp (working copy) +@@ -23,6 +23,7 @@ + #include "../VFileIO.h" + #include "assert.h" + #include <stdarg.h> ++#include <cstdio> + + bool Logger::m_isInitialized = false; + bool Logger::m_activ = true; +Index: src/helpers/Text.cpp +=================================================================== +--- src/helpers/Text.cpp (revision 2798) ++++ src/helpers/Text.cpp (working copy) +@@ -19,6 +19,7 @@ + =============================================================================*/ + + #include "Text.h" ++#include <cstdio> + + std::string txtToLower(const std::string& i_str) { + std::string v_res; +Index: src/XMArgs.cpp +=================================================================== +--- src/XMArgs.cpp (revision 2798) ++++ src/XMArgs.cpp (working copy) +@@ -24,6 +24,7 @@ + #include "VFileIO.h" + #include <sstream> + #include <stdlib.h> ++#include <cstdio> + + XMArguments::XMArguments() { + m_opt_pack = false; diff --git a/games-sports/xmoto/xmoto-9999.ebuild b/games-sports/xmoto/xmoto-9999.ebuild index e332b95..3f0b079 100644 --- a/games-sports/xmoto/xmoto-9999.ebuild +++ b/games-sports/xmoto/xmoto-9999.ebuild @@ -48,6 +48,7 @@ pkg_setup() { src_unpack() { subversion_src_unpack cd "${S}" + epatch "${FILESDIR}"/gcc4.4.patch eautoreconf use editor && rm -f "${WORKDIR}"/${LVL}/{bezmisc,inkex}.py } |