Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-sports/xmoto/files: xmoto-0.5.1-gcc44.patch
Date: Sun, 31 May 2009 02:33:52
Message-Id: E1MAaru-00074v-Ns@stork.gentoo.org
1 mr_bones_ 09/05/31 02:33:50
2
3 Added: xmoto-0.5.1-gcc44.patch
4 Log:
5 patch for building with gcc44 - submitted by Mike Limansky via bug #271919
6 (Portage version: 2.1.6.11/cvs/Linux i686)
7
8 Revision Changes Path
9 1.1 games-sports/xmoto/files/xmoto-0.5.1-gcc44.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/files/xmoto-0.5.1-gcc44.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/xmoto/files/xmoto-0.5.1-gcc44.patch?rev=1.1&content-type=text/plain
13
14 Index: xmoto-0.5.1-gcc44.patch
15 ===================================================================
16 diff -urp xmoto-0.5.1.orig/src/XMArgs.cpp xmoto-0.5.1/src/XMArgs.cpp
17 --- xmoto-0.5.1.orig/src/XMArgs.cpp 2009-05-31 02:43:52.000000000 +0400
18 +++ xmoto-0.5.1/src/XMArgs.cpp 2009-05-31 02:45:14.000000000 +0400
19 @@ -24,6 +24,7 @@ Foundation, Inc., 59 Temple Place, Suite
20 #include "VFileIO.h"
21 #include <sstream>
22 #include <stdlib.h>
23 +#include <stdio.h>
24
25 XMArguments::XMArguments() {
26 m_opt_pack = false;
27 diff -urp xmoto-0.5.1.orig/src/helpers/Log.cpp xmoto-0.5.1/src/helpers/Log.cpp
28 --- xmoto-0.5.1.orig/src/helpers/Log.cpp 2009-05-31 02:43:52.000000000 +0400
29 +++ xmoto-0.5.1/src/helpers/Log.cpp 2009-05-31 02:47:51.000000000 +0400
30 @@ -21,8 +21,9 @@ Foundation, Inc., 59 Temple Place, Suite
31 #include "Log.h"
32 #include "VExcept.h"
33 #include "../VFileIO.h"
34 -#include "assert.h"
35 +#include <assert.h>
36 #include <stdarg.h>
37 +#include <stdio.h>
38
39 bool Logger::m_isInitialized = false;
40 bool Logger::m_activ = true;
41 diff -urp xmoto-0.5.1.orig/src/helpers/Text.cpp xmoto-0.5.1/src/helpers/Text.cpp
42 --- xmoto-0.5.1.orig/src/helpers/Text.cpp 2009-05-31 02:43:52.000000000 +0400
43 +++ xmoto-0.5.1/src/helpers/Text.cpp 2009-05-31 02:46:21.000000000 +0400
44 @@ -19,6 +19,7 @@ Foundation, Inc., 59 Temple Place, Suite
45 =============================================================================*/
46
47 #include "Text.h"
48 +#include <stdio.h>
49
50 std::string txtToLower(const std::string& i_str) {
51 std::string v_res;
52 Only in xmoto-0.5.1/src: svnVersion