updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gzdoom / gzdoom-1.5.06-sharedir.patch
blob5c18733a089aa0e49238368d101ab395a31b8112
1 diff -ur gzdoom-1.5.00.orig/src/gameconfigfile.cpp gzdoom-1.5.00/src/gameconfigfile.cpp
2 --- gzdoom-1.5.00.orig/src/gameconfigfile.cpp 2010-08-12 09:00:22.000000000 +0200
3 +++ gzdoom-1.5.00/src/gameconfigfile.cpp 2010-08-12 09:02:34.000000000 +0200
4 @@ -138,6 +138,7 @@
5 #else
6 SetValueForKey ("Path", "~/" GAME_DIR, true);
7 SetValueForKey ("Path", SHARE_DIR, true);
8 + SetValueForKey ("Path", "/usr/share/doom", true);
9 #endif
12 diff -ur gzdoom-1.5.00.orig/src/sdl/i_system.h gzdoom-1.5.00/src/sdl/i_system.h
13 --- gzdoom-1.5.00.orig/src/sdl/i_system.h 2010-08-12 09:00:16.000000000 +0200
14 +++ gzdoom-1.5.00/src/sdl/i_system.h 2010-08-12 09:01:58.000000000 +0200
15 @@ -32,7 +32,7 @@
16 struct WadStuff;
18 #ifndef SHARE_DIR
19 -#define SHARE_DIR "/usr/local/share/"
20 +#define SHARE_DIR "/usr/share/games/gzdoom/"
21 #endif
23 // Index values into the LanguageIDs array