wok-current diff visualboyadvance/stuff/1.7.2-glibc.patch @ rev 20008

Add: description.txt and links revision.
author Leonardo Laporte <hackdorte@yandex.com>
date Wed Aug 02 14:08:19 2017 -0300 (2017-08-02)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/visualboyadvance/stuff/1.7.2-glibc.patch	Wed Aug 02 14:08:19 2017 -0300
     1.3 @@ -0,0 +1,76 @@
     1.4 +--- src/GBA.cpp
     1.5 ++++ src/GBA.cpp
     1.6 +@@ -1130,7 +1130,7 @@
     1.7 + bool CPUIsZipFile(const char * file)
     1.8 + {
     1.9 +   if(strlen(file) > 4) {
    1.10 +-    char * p = strrchr(file,'.');
    1.11 ++    const char * p = strrchr(file,'.');
    1.12 + 
    1.13 +     if(p != NULL) {
    1.14 +       if(_stricmp(p, ".zip") == 0)
    1.15 +@@ -1145,7 +1145,7 @@
    1.16 + {
    1.17 +   cpuIsMultiBoot = false;
    1.18 +   if(strlen(file) > 4) {
    1.19 +-    char * p = strrchr(file,'.');
    1.20 ++    const char * p = strrchr(file,'.');
    1.21 + 
    1.22 +     if(p != NULL) {
    1.23 +       if(_stricmp(p, ".gba") == 0)
    1.24 +@@ -1169,7 +1169,7 @@
    1.25 + bool CPUIsGBABios(const char * file)
    1.26 + {
    1.27 +   if(strlen(file) > 4) {
    1.28 +-    char * p = strrchr(file,'.');
    1.29 ++    const char * p = strrchr(file,'.');
    1.30 + 
    1.31 +     if(p != NULL) {
    1.32 +       if(_stricmp(p, ".gba") == 0)
    1.33 +@@ -1189,7 +1189,7 @@
    1.34 + bool CPUIsELF(const char *file)
    1.35 + {
    1.36 +   if(strlen(file) > 4) {
    1.37 +-    char * p = strrchr(file,'.');
    1.38 ++    const char * p = strrchr(file,'.');
    1.39 +     
    1.40 +     if(p != NULL) {
    1.41 +       if(_stricmp(p, ".elf") == 0)
    1.42 +--- src/Util.cpp
    1.43 ++++ src/Util.cpp
    1.44 +@@ -478,7 +478,7 @@
    1.45 + {
    1.46 +   cpuIsMultiBoot = false;
    1.47 +   if(strlen(file) > 4) {
    1.48 +-    char * p = strrchr(file,'.');
    1.49 ++    const char * p = strrchr(file,'.');
    1.50 + 
    1.51 +     if(p != NULL) {
    1.52 +       if(_stricmp(p, ".gba") == 0)
    1.53 +@@ -502,7 +502,7 @@
    1.54 + bool utilIsGBImage(const char * file)
    1.55 + {
    1.56 +   if(strlen(file) > 4) {
    1.57 +-    char * p = strrchr(file,'.');
    1.58 ++    const char * p = strrchr(file,'.');
    1.59 + 
    1.60 +     if(p != NULL) {
    1.61 +       if(_stricmp(p, ".gb") == 0)
    1.62 +@@ -522,7 +522,7 @@
    1.63 + bool utilIsZipFile(const char *file)
    1.64 + {
    1.65 +   if(strlen(file) > 4) {
    1.66 +-    char * p = strrchr(file,'.');
    1.67 ++    const char * p = strrchr(file,'.');
    1.68 + 
    1.69 +     if(p != NULL) {
    1.70 +       if(_stricmp(p, ".zip") == 0)
    1.71 +@@ -552,7 +552,7 @@
    1.72 + bool utilIsGzipFile(const char *file)
    1.73 + {
    1.74 +   if(strlen(file) > 3) {
    1.75 +-    char * p = strrchr(file,'.');
    1.76 ++    const char * p = strrchr(file,'.');
    1.77 + 
    1.78 +     if(p != NULL) {
    1.79 +       if(_stricmp(p, ".gz") == 0)