diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2006-01-15 03:37:52 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2006-01-15 03:37:52 +0000 |
commit | aeb8700dc22a9e1c5534161c5fd0ba71f602f978 (patch) | |
tree | 5fc532ddd48225d0f9972e7bd8a4b24bab096894 /games-emulation/gens/files | |
parent | Removing virtual/x11 as not needed. Removing older versions. (diff) | |
download | historical-aeb8700dc22a9e1c5534161c5fd0ba71f602f978.tar.gz historical-aeb8700dc22a9e1c5534161c5fd0ba71f602f978.tar.bz2 historical-aeb8700dc22a9e1c5534161c5fd0ba71f602f978.zip |
gcc4 compile patch from Avuton Olrich (bug #119024)
Package-Manager: portage-2.0.53
Diffstat (limited to 'games-emulation/gens/files')
-rw-r--r-- | games-emulation/gens/files/gens-2.12b-gcc4.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/games-emulation/gens/files/gens-2.12b-gcc4.patch b/games-emulation/gens/files/gens-2.12b-gcc4.patch new file mode 100644 index 000000000000..88cf9b0e6f54 --- /dev/null +++ b/games-emulation/gens/files/gens-2.12b-gcc4.patch @@ -0,0 +1,37 @@ +diff --git a/src/gens/emulator/g_main.c b/src/gens/emulator/g_main.c +index 1c9f4f5..3ac13eb 100644 +--- a/src/gens/emulator/g_main.c ++++ b/src/gens/emulator/g_main.c +@@ -5,6 +5,7 @@ + #include <sys/stat.h> + #include <stdlib.h> + #include <stdio.h> ++#include <string.h> + #include "g_main.h" + #include "timer.h" + #include "gens.h" +diff --git a/src/gens/emulator/g_main.h b/src/gens/emulator/g_main.h +index c7ea4b2..9090766 100644 +--- a/src/gens/emulator/g_main.h ++++ b/src/gens/emulator/g_main.h +@@ -36,6 +36,8 @@ extern char **language_name; + extern unsigned char Keys[]; + extern unsigned char joystate[]; + ++static int Build_Language_String (void); ++ + void SetWindowText(const char *text); + + int Set_Render(int Full, int Num, int Force); +diff --git a/src/gens/emulator/parse.c b/src/gens/emulator/parse.c +index 5bece4a..67f8b49 100644 +--- a/src/gens/emulator/parse.c ++++ b/src/gens/emulator/parse.c +@@ -1,6 +1,7 @@ + #include <stdlib.h> + #include <stdio.h> + #include <getopt.h> ++#include <string.h> + #include "port.h" + #include "save.h" + #include "cpu_68k.h" |