summaryrefslogtreecommitdiff
path: root/games-sports/xmoto
diff options
context:
space:
mode:
authorsss <sss@4d9a9b59-111c-4e0b-8f7a-7640551abb98>2009-04-08 08:12:32 +0000
committersss <sss@4d9a9b59-111c-4e0b-8f7a-7640551abb98>2009-04-08 08:12:32 +0000
commitff61122725c6d4c2ef059d045b6d74e5c4ff9e65 (patch)
treef367f7464507ea5fbfb699175f4587426daef70c /games-sports/xmoto
parentdd6aaf55bb2711ee48e02780ef4e93c0535ceea9 (diff)
git-svn-id: http://172.18.13.13/svn/sss_overlay@8 4d9a9b59-111c-4e0b-8f7a-7640551abb98
Diffstat (limited to 'games-sports/xmoto')
-rw-r--r--games-sports/xmoto/files/gcc4.4.patch36
-rw-r--r--games-sports/xmoto/xmoto-9999.ebuild1
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
}