diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-11-30 19:54:03 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-11-30 19:54:03 +0000 |
commit | 70b5fa261ab1874656a2dbca062de028a226d78b (patch) | |
tree | d633a6db91a4a501456faade1070c787c7734bf6 /games-arcade/slimevolley/files/slimevolley-2.4.2-nodatalocal.patch | |
parent | Drop mask for no longer existant portage version (diff) | |
download | gentoo-2-70b5fa261ab1874656a2dbca062de028a226d78b.tar.gz gentoo-2-70b5fa261ab1874656a2dbca062de028a226d78b.tar.bz2 gentoo-2-70b5fa261ab1874656a2dbca062de028a226d78b.zip |
version bump
(Portage version: 2.1.9.24/cvs/Linux i686)
Diffstat (limited to 'games-arcade/slimevolley/files/slimevolley-2.4.2-nodatalocal.patch')
-rw-r--r-- | games-arcade/slimevolley/files/slimevolley-2.4.2-nodatalocal.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/games-arcade/slimevolley/files/slimevolley-2.4.2-nodatalocal.patch b/games-arcade/slimevolley/files/slimevolley-2.4.2-nodatalocal.patch new file mode 100644 index 000000000000..a1ab7616a645 --- /dev/null +++ b/games-arcade/slimevolley/files/slimevolley-2.4.2-nodatalocal.patch @@ -0,0 +1,23 @@ +diff -ru slimevolley-2.4.1.orig/src/themes_std.c slimevolley-2.4.1/src/themes_std.c +--- slimevolley-2.4.1.orig/src/themes_std.c 2008-11-30 04:36:52.000000000 -0500 ++++ slimevolley-2.4.1/src/themes_std.c 2010-05-05 13:00:23.875723904 -0400 +@@ -30,7 +30,6 @@ + #include "audio.h" + #include "themes.h" + +-#define DATA_LOCAL "data" + #define DOSS_THEMES "themes" + #define DOSS_SLIMES "slimes" + #define SLIME_D_NOM "slimeJD%d.png" +@@ -74,10 +73,7 @@ + chemin[0] = '\0'; + + if(var_env == NULL) { +- if(access(DATA_LOCAL, R_OK | X_OK) == 0) { +- strncpy(chemin, DATA_LOCAL, sizeof(chemin) - 1); +- +- } else if(access(DATA_DIR, R_OK | X_OK) == 0) { ++ if(access(DATA_DIR, R_OK | X_OK) == 0) { + strncpy(chemin, DATA_DIR, sizeof(chemin) - 1); + } + |