diff options
Diffstat (limited to '0002-Include-SHARE_DIR-in-IWADSearch.Directories.patch')
-rw-r--r-- | 0002-Include-SHARE_DIR-in-IWADSearch.Directories.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/0002-Include-SHARE_DIR-in-IWADSearch.Directories.patch b/0002-Include-SHARE_DIR-in-IWADSearch.Directories.patch new file mode 100644 index 000000000000..9bf13553f01b --- /dev/null +++ b/0002-Include-SHARE_DIR-in-IWADSearch.Directories.patch @@ -0,0 +1,24 @@ +From 37ce567c941e0b625064367633063c3fab81177b Mon Sep 17 00:00:00 2001 +From: Jan Cholasta <grubber@grubber.cz> +Date: Thu, 18 Feb 2016 13:34:59 +0100 +Subject: [PATCH 2/2] Include SHARE_DIR in IWADSearch.Directories + +--- + src/gameconfigfile.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp +index f162e93..91f7308 100644 +--- a/src/gameconfigfile.cpp ++++ b/src/gameconfigfile.cpp +@@ -133,6 +133,7 @@ FGameConfigFile::FGameConfigFile () + SetValueForKey ("Path", "$PROGDIR", true); + #else + SetValueForKey ("Path", "~/" GAME_DIR, true); ++ SetValueForKey ("Path", SHARE_DIR, true); + // Arch Linux likes them in /usr/share/doom + // Debian likes them in /usr/share/games/doom + // I assume other distributions don't do anything radically different +-- +2.7.2 + |