summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/mupen64plus-svn/fix-gcc4.4-const-char.patch
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-10-19 04:34:09 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-10-19 04:34:09 (GMT)
commit20616ca0aa00413e85752835e721950254463450 (patch)
tree060988fab065810a65e5b679d2e9614c2ef87d4a /abs/extra-testing/mupen64plus-svn/fix-gcc4.4-const-char.patch
parentdb443a6be77b48a658ee48613f88bdf3ca31e6d7 (diff)
downloadlinhes_pkgbuild-20616ca0aa00413e85752835e721950254463450.zip
linhes_pkgbuild-20616ca0aa00413e85752835e721950254463450.tar.gz
linhes_pkgbuild-20616ca0aa00413e85752835e721950254463450.tar.bz2
mupen64plus:initial inclusion, N64 emulator.
Diffstat (limited to 'abs/extra-testing/mupen64plus-svn/fix-gcc4.4-const-char.patch')
-rw-r--r--abs/extra-testing/mupen64plus-svn/fix-gcc4.4-const-char.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/abs/extra-testing/mupen64plus-svn/fix-gcc4.4-const-char.patch b/abs/extra-testing/mupen64plus-svn/fix-gcc4.4-const-char.patch
new file mode 100644
index 0000000..fd1495d
--- /dev/null
+++ b/abs/extra-testing/mupen64plus-svn/fix-gcc4.4-const-char.patch
@@ -0,0 +1,22 @@
+--- glide64/Combine.old.cpp 2009-06-19 17:59:20.191723065 -0400
++++ glide64/Combine.cpp 2009-06-19 18:43:46.955453868 -0400
+@@ -11873,7 +11873,7 @@
+ LOG ("InitCombine() ");
+ memset(&cmb, 0, sizeof(cmb));
+ const char *extensions = grGetString (GR_EXTENSION);
+- if (char * extstr = strstr(extensions, "COMBINE")) {
++ if (const char * extstr = strstr(extensions, "COMBINE")) {
+ if (!strncmp(extstr, "COMBINE", 7)) {
+ LOG ("extensions ");
+ cmb.grColorCombineExt = (GRCOLORCOMBINEEXT) grGetProcAddress("grColorCombineExt");
+--- glide64/Main.old.cpp 2009-06-19 18:47:04.238930057 -0400
++++ glide64/Main.cpp 2009-06-19 18:47:18.018772876 -0400
+@@ -784,7 +784,7 @@
+ printf("bebefore2\n");
+ if (settings.fb_hires)
+ {
+- if (char * extstr = strstr(extensions, "TEXTUREBUFFER"))
++ if (const char * extstr = strstr(extensions, "TEXTUREBUFFER"))
+ {
+ if (!strncmp(extstr, "TEXTUREBUFFER", 13))
+ {