wok-4.x diff visualboyadvance/stuff/1.7.2-homedir.patch @ rev 12477
Up openssl 1.1.1n (bump packages curl, git, wget, python), up cherokee 1.2.104 and bdeps (automake, openldap, cyrus-sasl)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Apr 02 14:34:44 2023 +0000 (15 months ago) |
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 Sun Apr 02 14:34:44 2023 +0000 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;