* updated korganizer (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / emulators / zsnes / hotfix-gcc43.patch
blobd2a52e6dce8e52353cc2b5cdd3b4d68a048c4f3f
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../zsnes/gcc43.patch
5 # Copyright (C) 2009 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- src/tools/depbuild.cpp.vanilla 2009-02-16 11:06:47.000000000 +0100
18 +++ src/tools/depbuild.cpp 2009-02-16 11:07:22.000000000 +0100
19 @@ -24,6 +24,8 @@
20 #include <iostream>
21 #include <string>
22 #include <cstdio>
23 +#include <stdlib.h>
25 using namespace std;
27 #include "fileutil.h"
28 @@ -183,7 +185,7 @@
32 -int main(size_t argc, const char *const *const argv)
33 +int main(int argc, const char *const *const argv)
35 if (argc < 5)
37 --- src/tools/strutil.h.vanilla 2009-02-16 11:06:29.000000000 +0100
38 +++ src/tools/strutil.h 2009-02-16 11:06:37.000000000 +0100
39 @@ -22,6 +22,7 @@
40 #ifndef STRUTIL_H
41 #define STRUTIL_H
43 +#include <string.h>
44 #include <string>
45 #include <vector>
46 #include <cctype>
47 --- src/parsegen.cpp.vanilla 2009-02-16 11:09:11.000000000 +0100
48 +++ src/parsegen.cpp 2009-02-16 11:09:35.000000000 +0100
49 @@ -33,6 +33,7 @@
50 #include <stack>
51 using namespace std;
53 +#include <string.h>
54 #include <errno.h>
55 #include <zlib.h>
57 @@ -1828,7 +1829,7 @@
61 -int main(size_t argc, const char **argv)
62 +int main(int argc, const char **argv)
64 const char *cheader_file = 0;
65 bool compile = false;