OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.9 KiB

  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 ---
  16. diff -Nur GensForLinux-orig/src/gens/emulator/g_main.c GensForLinux/src/gens/emulator/g_main.c
  17. --- GensForLinux-orig/src/gens/emulator/g_main.c 2004-05-18 20:34:00.000000000 +0000
  18. +++ GensForLinux/src/gens/emulator/g_main.c 2006-02-03 21:56:33.828752000 +0000
  19. @@ -5,6 +5,7 @@
  20. #include <sys/stat.h>
  21. #include <stdlib.h>
  22. #include <stdio.h>
  23. +#include <string.h>
  24. #include "g_main.h"
  25. #include "timer.h"
  26. #include "gens.h"
  27. diff -Nur GensForLinux-orig/src/gens/emulator/g_main.h GensForLinux/src/gens/emulator/g_main.h
  28. --- GensForLinux-orig/src/gens/emulator/g_main.h 2004-04-15 20:22:49.000000000 +0000
  29. +++ GensForLinux/src/gens/emulator/g_main.h 2006-02-03 21:58:00.890193000 +0000
  30. @@ -36,6 +36,8 @@
  31. extern unsigned char Keys[];
  32. extern unsigned char joystate[];
  33. +static int Build_Language_String (void);
  34. +
  35. void SetWindowText(const char *text);
  36. int Set_Render(int Full, int Num, int Force);
  37. diff -Nur GensForLinux-orig/src/gens/emulator/parse.c GensForLinux/src/gens/emulator/parse.c
  38. --- GensForLinux-orig/src/gens/emulator/parse.c 2004-05-19 19:21:00.000000000 +0000
  39. +++ GensForLinux/src/gens/emulator/parse.c 2006-02-03 21:58:14.467041500 +0000
  40. @@ -1,6 +1,7 @@
  41. #include <stdlib.h>
  42. #include <stdio.h>
  43. #include <getopt.h>
  44. +#include <string.h>
  45. #include "port.h"
  46. #include "save.h"
  47. #include "cpu_68k.h"