summaryrefslogtreecommitdiff
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
parentdd6aaf55bb2711ee48e02780ef4e93c0535ceea9 (diff)
git-svn-id: http://172.18.13.13/svn/sss_overlay@8 4d9a9b59-111c-4e0b-8f7a-7640551abb98
-rw-r--r--games-sports/xmoto/files/gcc4.4.patch36
-rw-r--r--games-sports/xmoto/xmoto-9999.ebuild1
-rw-r--r--net-libs/opal/files/gcc4.4.patch13
-rw-r--r--net-libs/opal/opal-9999.ebuild1
4 files changed, 51 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
}
diff --git a/net-libs/opal/files/gcc4.4.patch b/net-libs/opal/files/gcc4.4.patch
new file mode 100644
index 0000000..5d809da
--- /dev/null
+++ b/net-libs/opal/files/gcc4.4.patch
@@ -0,0 +1,13 @@
+Index: enc-ctx.cxx
+===================================================================
+--- plugins/video/H.264/gpl/enc-ctx.cxx (revision 22408)
++++ plugins/video/H.264/gpl/enc-ctx.cxx (working copy)
+@@ -27,6 +27,8 @@
+
+ #include <stdlib.h>
+ #include <math.h>
++#include <cstdio>
++
+ #if defined(_WIN32) || defined(_WIN32_WCE)
+ #include <malloc.h>
+ #define STRCMPI _strcmpi
diff --git a/net-libs/opal/opal-9999.ebuild b/net-libs/opal/opal-9999.ebuild
index de32222..de99f61 100644
--- a/net-libs/opal/opal-9999.ebuild
+++ b/net-libs/opal/opal-9999.ebuild
@@ -41,6 +41,7 @@ src_unpack() {
subversion_src_unpack
cd "${S}"
# eautoreconf
+ epatch "${FILESDIR}"/gcc4.4.patch
}
src_compile() {