aboutsummaryrefslogtreecommitdiff
path: root/games/mupen64plus/gcc4.4-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games/mupen64plus/gcc4.4-build.patch')
-rw-r--r--games/mupen64plus/gcc4.4-build.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/games/mupen64plus/gcc4.4-build.patch b/games/mupen64plus/gcc4.4-build.patch
new file mode 100644
index 000000000000..10c668a83ca5
--- /dev/null
+++ b/games/mupen64plus/gcc4.4-build.patch
@@ -0,0 +1,24 @@
+diff -up ./glide64/Combine.cpp.00 ./glide64/Combine.cpp
+--- ./glide64/Combine.cpp.00 2010-01-28 12:08:11.367269059 -0800
++++ ./glide64/Combine.cpp 2010-01-28 12:08:55.142019819 -0800
+@@ -11873,7 +11873,7 @@ void InitCombine ()
+ LOG ("InitCombine() ");
+ memset(&cmb, 0, sizeof(cmb));
+ const char *extensions = grGetString (GR_EXTENSION);
+- if (char * extstr = strstr(extensions, "COMBINE")) {
++ if (char * extstr = (char *) strstr(extensions, "COMBINE")) {
+ if (!strncmp(extstr, "COMBINE", 7)) {
+ LOG ("extensions ");
+ cmb.grColorCombineExt = (GRCOLORCOMBINEEXT) grGetProcAddress("grColorCombineExt");
+diff -up ./glide64/Main.cpp.00 ./glide64/Main.cpp
+--- ./glide64/Main.cpp.00 2010-01-28 11:55:52.981269116 -0800
++++ ./glide64/Main.cpp 2010-01-28 11:59:22.810019317 -0800
+@@ -784,7 +784,7 @@ BOOL InitGfx (BOOL evoodoo_using_window)
+ printf("bebefore2\n");
+ if (settings.fb_hires)
+ {
+- if (char * extstr = strstr(extensions, "TEXTUREBUFFER"))
++ if (char * extstr = (char *) strstr(extensions, "TEXTUREBUFFER"))
+ {
+ if (!strncmp(extstr, "TEXTUREBUFFER", 13))
+ {