wok-next diff visualboyadvance/stuff/1.7.2-homedir.patch @ rev 8737
libsvn: improve depends.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Feb 19 21:38:24 2011 +0100 (2011-02-19) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/visualboyadvance/stuff/1.7.2-homedir.patch Sat Feb 19 21:38:24 2011 +0100 1.3 @@ -0,0 +1,11 @@ 1.4 +--- src/sdl/SDL.cpp.orig 2004-08-15 02:43:28.232750688 -0400 1.5 ++++ src/sdl/SDL.cpp 2004-08-15 02:44:01.557684528 -0400 1.6 +@@ -887,7 +887,7 @@ 1.7 + 1.8 + if(home != NULL) { 1.9 + fprintf(stderr, "Searching home directory: %s\n", home); 1.10 +- sprintf(path, "%s%c%s", home, FILE_SEP, name); 1.11 ++ sprintf(path, "%s%c.%s%c%s", home, FILE_SEP, EXE_NAME, FILE_SEP, name); 1.12 + f = fopen(path, "r"); 1.13 + if(f != NULL) 1.14 + return f;