summaryrefslogtreecommitdiffstats
path: root/abs/not_built/extra/mupen64plus-svn/fix-gcc4.4-const-char.patch
blob: fd1495d1af089b61f206c1c2e9ef2998a82aaa9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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)) 
       {