summarylogtreecommitdiffstats
path: root/0001-Fix-soundfont-search-path.patch
diff options
context:
space:
mode:
authorJan Cholasta2018-06-13 05:22:04 +0200
committerJan Cholasta2018-06-13 05:22:04 +0200
commit79fb0dbc5d550d75cf3cf12c719e14a58693d549 (patch)
tree16316c6d5562f1f4700394251fa6a3cc5f10d8ab /0001-Fix-soundfont-search-path.patch
parent370460ae86f83016af06b6209e2503c3ae7e6d2f (diff)
parent4f6f557f5d1cc908660c1f490e2bc15cf12e12bd (diff)
downloadaur-79fb0dbc5d550d75cf3cf12c719e14a58693d549.tar.gz
Merge remote-tracking branch 'gzdoom-git/master'
Diffstat (limited to '0001-Fix-soundfont-search-path.patch')
-rw-r--r--0001-Fix-soundfont-search-path.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/0001-Fix-soundfont-search-path.patch b/0001-Fix-soundfont-search-path.patch
new file mode 100644
index 000000000000..55b948c6870c
--- /dev/null
+++ b/0001-Fix-soundfont-search-path.patch
@@ -0,0 +1,29 @@
+From 6a33dc9c7d85f5974a0d7bad6f376099c52507be Mon Sep 17 00:00:00 2001
+From: Jan Cholasta <jan@cholasta.net>
+Date: Mon, 5 Mar 2018 16:17:24 +0100
+Subject: [PATCH] Fix soundfont search path
+
+---
+ src/gameconfigfile.cpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp
+index c2655c359..caa221cfe 100644
+--- a/src/gameconfigfile.cpp
++++ b/src/gameconfigfile.cpp
+@@ -181,10 +181,12 @@ FGameConfigFile::FGameConfigFile ()
+ SetValueForKey("Path", "$PROGDIR/soundfonts", true);
+ #else
+ SetValueForKey("Path", "$HOME/" GAME_DIR "/soundfonts", true);
++ SetValueForKey("Path", SHARE_DIR "/soundfonts", true);
+ SetValueForKey("Path", "/usr/local/share/doom/soundfonts", true);
+ SetValueForKey("Path", "/usr/local/share/games/doom/soundfonts", true);
+ SetValueForKey("Path", "/usr/share/doom/soundfonts", true);
+ SetValueForKey("Path", "/usr/share/games/doom/soundfonts", true);
++ SetValueForKey("Path", "/usr/share/soundfonts", true);
+ #endif
+ }
+
+--
+2.16.2
+