diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-arcade/slimevolley/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-arcade/slimevolley/files')
-rw-r--r-- | games-arcade/slimevolley/files/slimevolley-2.4.2-nodatalocal.patch | 23 | ||||
-rw-r--r-- | games-arcade/slimevolley/files/slimevolley-2.4.2-underlink.patch | 10 |
2 files changed, 33 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); + } + diff --git a/games-arcade/slimevolley/files/slimevolley-2.4.2-underlink.patch b/games-arcade/slimevolley/files/slimevolley-2.4.2-underlink.patch new file mode 100644 index 000000000000..7ca362c7bc63 --- /dev/null +++ b/games-arcade/slimevolley/files/slimevolley-2.4.2-underlink.patch @@ -0,0 +1,10 @@ +--- CMakeLists.txt.old 2011-06-20 20:42:26.545500925 +0200 ++++ CMakeLists.txt 2011-06-20 20:42:34.407999223 +0200 +@@ -42,6 +42,7 @@ + ${SDL_LIBRARY} + ${SDLTTF_LIBRARY} + ${SDLIMAGE_LIBRARY} ++ m + ) + + INCLUDE(FindGettext.cmake) |