Dash:
[t2-trunk.git] / package / emulators / gens / hotfix-gcc4.patch
blob8a02099b1034a3c4e8cb0ef5e3bc25e4ca020d50
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../gens/gcc4.patch
5 # Copyright (C) 2006 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 diff -Nur GensForLinux-orig/src/gens/emulator/g_main.c GensForLinux/src/gens/emulator/g_main.c
18 --- GensForLinux-orig/src/gens/emulator/g_main.c 2004-05-18 20:34:00.000000000 +0000
19 +++ GensForLinux/src/gens/emulator/g_main.c 2006-02-03 21:56:33.828752000 +0000
20 @@ -5,6 +5,7 @@
21 #include <sys/stat.h>
22 #include <stdlib.h>
23 #include <stdio.h>
24 +#include <string.h>
25 #include "g_main.h"
26 #include "timer.h"
27 #include "gens.h"
28 diff -Nur GensForLinux-orig/src/gens/emulator/g_main.h GensForLinux/src/gens/emulator/g_main.h
29 --- GensForLinux-orig/src/gens/emulator/g_main.h 2004-04-15 20:22:49.000000000 +0000
30 +++ GensForLinux/src/gens/emulator/g_main.h 2006-02-03 21:58:00.890193000 +0000
31 @@ -36,6 +36,8 @@
32 extern unsigned char Keys[];
33 extern unsigned char joystate[];
35 +static int Build_Language_String (void);
37 void SetWindowText(const char *text);
39 int Set_Render(int Full, int Num, int Force);
40 diff -Nur GensForLinux-orig/src/gens/emulator/parse.c GensForLinux/src/gens/emulator/parse.c
41 --- GensForLinux-orig/src/gens/emulator/parse.c 2004-05-19 19:21:00.000000000 +0000
42 +++ GensForLinux/src/gens/emulator/parse.c 2006-02-03 21:58:14.467041500 +0000
43 @@ -1,6 +1,7 @@
44 #include <stdlib.h>
45 #include <stdio.h>
46 #include <getopt.h>
47 +#include <string.h>
48 #include "port.h"
49 #include "save.h"
50 #include "cpu_68k.h"