Gentoo Archives: gentoo-commits

From: "Tristan Heaven (nyhm)" <nyhm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-emulation/zsnes/files: zsnes-1.51-gcc43.patch
Date: Fri, 02 May 2008 13:52:34
Message-Id: E1Jrvge-00031q-59@stork.gentoo.org
1 nyhm 08/05/02 13:52:32
2
3 Added: zsnes-1.51-gcc43.patch
4 Log:
5 Fix building with gcc-4.3
6 (Portage version: 2.1.5_rc6)
7
8 Revision Changes Path
9 1.1 games-emulation/zsnes/files/zsnes-1.51-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/zsnes/files/zsnes-1.51-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/zsnes/files/zsnes-1.51-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: zsnes-1.51-gcc43.patch
15 ===================================================================
16 --- src/parsegen.cpp
17 +++ src/parsegen.cpp
18 @@ -31,6 +31,7 @@
19 #include <sstream>
20 #include <set>
21 #include <stack>
22 +#include <cstring>
23 using namespace std;
24
25 #include <errno.h>
26 @@ -1828,7 +1829,7 @@
27 }
28 }
29
30 -int main(size_t argc, const char **argv)
31 +int main(int argc, const char **argv)
32 {
33 const char *cheader_file = 0;
34 bool compile = false;
35 --- src/tools/depbuild.cpp
36 +++ src/tools/depbuild.cpp
37 @@ -24,6 +24,7 @@
38 #include <iostream>
39 #include <string>
40 #include <cstdio>
41 +#include <cstdlib>
42 using namespace std;
43
44 #include "fileutil.h"
45 @@ -183,7 +184,7 @@
46 }
47 }
48
49 -int main(size_t argc, const char *const *const argv)
50 +int main(int argc, const char *const *const argv)
51 {
52 if (argc < 5)
53 {
54 --- src/tools/strutil.h
55 +++ src/tools/strutil.h
56 @@ -25,6 +25,7 @@
57 #include <string>
58 #include <vector>
59 #include <cctype>
60 +#include <cstring>
61
62 struct ci_char_traits : public std::char_traits<char>
63 {
64
65
66
67 --
68 gentoo-commits@l.g.o mailing list