diff options
Diffstat (limited to 'games/brainparty/patches/brainparty-0.5-data-directory.patch')
-rw-r--r-- | games/brainparty/patches/brainparty-0.5-data-directory.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/games/brainparty/patches/brainparty-0.5-data-directory.patch b/games/brainparty/patches/brainparty-0.5-data-directory.patch new file mode 100644 index 0000000000..10a35fc0eb --- /dev/null +++ b/games/brainparty/patches/brainparty-0.5-data-directory.patch @@ -0,0 +1,12 @@ +diff -Naur brainparty.orig/main.cpp brainparty/main.cpp +--- brainparty.orig/main.cpp 2010-03-11 00:15:34.000000000 +0000 ++++ brainparty/main.cpp 2010-04-03 22:35:45.000000000 +0000 +@@ -26,6 +26,8 @@ + BPGame* Game; + + int main(int argc, char *argv[]) { ++ chdir("/usr/share/brainparty"); ++ + if ( SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO) < 0 ) { + fprintf(stderr, "Unable to init SDL: %s\n", SDL_GetError()); + exit(1); |