summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-05-31 02:33:50 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-05-31 02:33:50 +0000
commit9f16f64d74781ae65deb847b09cea4c889095f85 (patch)
tree0238b5743cb4640e77a5aaf33104e0edd71f7820 /games-sports
parentFix LICENSE: as-is -> BSD (diff)
downloadgentoo-2-9f16f64d74781ae65deb847b09cea4c889095f85.tar.gz
gentoo-2-9f16f64d74781ae65deb847b09cea4c889095f85.tar.bz2
gentoo-2-9f16f64d74781ae65deb847b09cea4c889095f85.zip
patch for building with gcc44 - submitted by Mike Limansky via bug #271919
(Portage version: 2.1.6.11/cvs/Linux i686)
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/xmoto/ChangeLog6
-rw-r--r--games-sports/xmoto/files/xmoto-0.5.1-gcc44.patch37
-rw-r--r--games-sports/xmoto/xmoto-0.5.1.ebuild3
3 files changed, 44 insertions, 2 deletions
diff --git a/games-sports/xmoto/ChangeLog b/games-sports/xmoto/ChangeLog
index a228d760740f..ce8eb64d48a7 100644
--- a/games-sports/xmoto/ChangeLog
+++ b/games-sports/xmoto/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-sports/xmoto
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.34 2009/04/13 17:37:32 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/ChangeLog,v 1.35 2009/05/31 02:33:49 mr_bones_ Exp $
+
+ 31 May 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/xmoto-0.5.1-gcc44.patch, xmoto-0.5.1.ebuild:
+ patch for building with gcc44 - submitted by Mike Limansky via bug #271919
*xmoto-0.5.1 (13 Apr 2009)
diff --git a/games-sports/xmoto/files/xmoto-0.5.1-gcc44.patch b/games-sports/xmoto/files/xmoto-0.5.1-gcc44.patch
new file mode 100644
index 000000000000..696f8e352611
--- /dev/null
+++ b/games-sports/xmoto/files/xmoto-0.5.1-gcc44.patch
@@ -0,0 +1,37 @@
+diff -urp xmoto-0.5.1.orig/src/XMArgs.cpp xmoto-0.5.1/src/XMArgs.cpp
+--- xmoto-0.5.1.orig/src/XMArgs.cpp 2009-05-31 02:43:52.000000000 +0400
++++ xmoto-0.5.1/src/XMArgs.cpp 2009-05-31 02:45:14.000000000 +0400
+@@ -24,6 +24,7 @@ Foundation, Inc., 59 Temple Place, Suite
+ #include "VFileIO.h"
+ #include <sstream>
+ #include <stdlib.h>
++#include <stdio.h>
+
+ XMArguments::XMArguments() {
+ m_opt_pack = false;
+diff -urp xmoto-0.5.1.orig/src/helpers/Log.cpp xmoto-0.5.1/src/helpers/Log.cpp
+--- xmoto-0.5.1.orig/src/helpers/Log.cpp 2009-05-31 02:43:52.000000000 +0400
++++ xmoto-0.5.1/src/helpers/Log.cpp 2009-05-31 02:47:51.000000000 +0400
+@@ -21,8 +21,9 @@ Foundation, Inc., 59 Temple Place, Suite
+ #include "Log.h"
+ #include "VExcept.h"
+ #include "../VFileIO.h"
+-#include "assert.h"
++#include <assert.h>
+ #include <stdarg.h>
++#include <stdio.h>
+
+ bool Logger::m_isInitialized = false;
+ bool Logger::m_activ = true;
+diff -urp xmoto-0.5.1.orig/src/helpers/Text.cpp xmoto-0.5.1/src/helpers/Text.cpp
+--- xmoto-0.5.1.orig/src/helpers/Text.cpp 2009-05-31 02:43:52.000000000 +0400
++++ xmoto-0.5.1/src/helpers/Text.cpp 2009-05-31 02:46:21.000000000 +0400
+@@ -19,6 +19,7 @@ Foundation, Inc., 59 Temple Place, Suite
+ =============================================================================*/
+
+ #include "Text.h"
++#include <stdio.h>
+
+ std::string txtToLower(const std::string& i_str) {
+ std::string v_res;
+Only in xmoto-0.5.1/src: svnVersion
diff --git a/games-sports/xmoto/xmoto-0.5.1.ebuild b/games-sports/xmoto/xmoto-0.5.1.ebuild
index d2b9ccec19ac..db9a640b039e 100644
--- a/games-sports/xmoto/xmoto-0.5.1.ebuild
+++ b/games-sports/xmoto/xmoto-0.5.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/xmoto-0.5.1.ebuild,v 1.2 2009/04/13 17:58:24 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/xmoto/xmoto-0.5.1.ebuild,v 1.3 2009/05/31 02:33:49 mr_bones_ Exp $
EAPI=2
inherit autotools eutils games
@@ -45,6 +45,7 @@ src_prepare() {
-e '/^gettextsrcdir/s:=.*:= @localedir@/gettext/po:' \
po/Makefile.in.in \
|| die "sed failed"
+ epatch "${FILESDIR}/${P}-gcc44.patch"
}
src_configure() {