summaryrefslogtreecommitdiffstats
path: root/games/mupen64plus/gcc4.4-build.patch
diff options
context:
space:
mode:
author M.Dinslage <daedra1980{at}gmail{dot}com>2010-04-18 22:14:00 -0400
committer David Somero <xgizzmo@slackbuilds.org>2010-05-15 10:38:24 +0200
commit5a4f2c84d3fd2b274b289c447bb98d9baf7dc060 (patch)
tree28578a28f09cd1f36bc9634f10724f07c9c1632c /games/mupen64plus/gcc4.4-build.patch
parent8c5023e6e1a83a0d43a4570eb3c3aadb59921f84 (diff)
downloadslackbuilds-5a4f2c84d3fd2b274b289c447bb98d9baf7dc060.tar.gz
slackbuilds-5a4f2c84d3fd2b274b289c447bb98d9baf7dc060.tar.xz
games/mupen64plus: Updated build with patch for gcc 4.4.
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 0000000000..10c668a83c
--- /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))
+ {