summarylogtreecommitdiffstats
path: root/0001-Fix-path-to-FluidR3-soundfont.patch
diff options
context:
space:
mode:
authorJan Cholasta2017-10-07 11:48:44 +0200
committerJan Cholasta2017-10-16 20:17:45 +0200
commitd07f26b4aa907026d02015ff413023d92622c3fb (patch)
tree55fd00ea1f2342b92e362499168f441a59e39b90 /0001-Fix-path-to-FluidR3-soundfont.patch
parent2f422b41b09488d6e6e9b40c79c5c279b7fe9489 (diff)
downloadaur-d07f26b4aa907026d02015ff413023d92622c3fb.tar.gz
gzdoom-3.2.0-1
* 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..309efc880f9f
--- /dev/null
+++ b/0001-Fix-path-to-FluidR3-soundfont.patch
@@ -0,0 +1,25 @@
+From a5061668fe18fa8b234cd09780a41f7542169b99 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.2
+