From ff61122725c6d4c2ef059d045b6d74e5c4ff9e65 Mon Sep 17 00:00:00 2001 From: sss Date: Wed, 8 Apr 2009 08:12:32 +0000 Subject: git-svn-id: http://172.18.13.13/svn/sss_overlay@8 4d9a9b59-111c-4e0b-8f7a-7640551abb98 --- games-sports/xmoto/files/gcc4.4.patch | 36 +++++++++++++++++++++++++++++++++++ games-sports/xmoto/xmoto-9999.ebuild | 1 + net-libs/opal/files/gcc4.4.patch | 13 +++++++++++++ net-libs/opal/opal-9999.ebuild | 1 + 4 files changed, 51 insertions(+) create mode 100644 games-sports/xmoto/files/gcc4.4.patch create mode 100644 net-libs/opal/files/gcc4.4.patch 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 ++#include + + 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 + + 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 + #include ++#include + + 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 + #include ++#include ++ + #if defined(_WIN32) || defined(_WIN32_WCE) + #include + #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() { -- cgit v1.2.3