summarylogtreecommitdiffstats
path: root/0001-Fix-path-to-FluidR3-soundfont.patch
diff options
context:
space:
mode:
authorJan Cholasta2017-09-17 11:17:53 +0200
committerJan Cholasta2017-09-17 11:17:53 +0200
commitc3a664a21b315be8849ce77338584a944b5bb00e (patch)
tree40ba4a00bb7e68e0bc0734ebad1cb9f264ebd348 /0001-Fix-path-to-FluidR3-soundfont.patch
parentda9ec6b5b11891667f5c4b385e8d0939a247d07a (diff)
downloadaur-c3a664a21b315be8849ce77338584a944b5bb00e.tar.gz
gzdoom-git-3.2pre+562+g9f742f8aa-1
* include gzdoom.sf2 * add soundfont-fluid optdepend
Diffstat (limited to '0001-Fix-path-to-FluidR3-soundfont.patch')
-rw-r--r--0001-Fix-path-to-FluidR3-soundfont.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0001-Fix-path-to-FluidR3-soundfont.patch b/0001-Fix-path-to-FluidR3-soundfont.patch
new file mode 100644
index 000000000000..7c2e35768b6c
--- /dev/null
+++ b/0001-Fix-path-to-FluidR3-soundfont.patch
@@ -0,0 +1,25 @@
+From bb6019e8022a6983a34927ace17516b680ecc7e3 Mon Sep 17 00:00:00 2001
+From: Jan Cholasta <jan@cholasta.net>
+Date: Sun, 17 Sep 2017 10:45:32 +0200
+Subject: [PATCH] Fix path to FluidR3 soundfont
+
+---
+ src/sound/mididevices/music_fluidsynth_mididevice.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/sound/mididevices/music_fluidsynth_mididevice.cpp b/src/sound/mididevices/music_fluidsynth_mididevice.cpp
+index 07102c43d..c32a17d8b 100644
+--- a/src/sound/mididevices/music_fluidsynth_mididevice.cpp
++++ b/src/sound/mididevices/music_fluidsynth_mididevice.cpp
+@@ -327,7 +327,7 @@ FluidSynthMIDIDevice::FluidSynthMIDIDevice(const char *args)
+ }
+ #ifdef __unix__
+ // This is the standard location on Ubuntu.
+- if (LoadPatchSets("/usr/share/sounds/sf2/FluidR3_GS.sf2:/usr/share/sounds/sf2/FluidR3_GM.sf2"))
++ if (LoadPatchSets("/usr/share/soundfonts/FluidR3_GS.sf2:/usr/share/soundfonts/FluidR3_GM.sf2"))
+ {
+ return;
+ }
+--
+2.14.1
+