commit f2c492d5a739c0a333e1c2368a8d060955041c06
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Jul 8 07:41:56 2022 +0100
Fix timidity conf path
mpd.spec | 1 +
timidity_path.patch | 11 +++++++++++
2 files changed, 12 insertions(+)
---
diff --git a/mpd.spec b/mpd.spec
index 759546f..3962c07 100644
--- a/mpd.spec
+++ b/mpd.spec
@@ -34,6 +34,7 @@ Source4: mpd.tmpfiles.d
Source5: mpd.xml
Patch0: mpd-0.22-mpdconf.patch
Patch1: mpd-0.20-remove_NoNewPrivileges.patch
+Patch2: timidity_path.patch
BuildRequires: alsa-lib-devel
BuildRequires: audiofile-devel
diff --git a/timidity_path.patch b/timidity_path.patch
new file mode 100644
index 0000000..4bdced8
--- /dev/null
+++ b/timidity_path.patch
@@ -0,0 +1,11 @@
+--- a/src/decoder/plugins/WildmidiDecoderPlugin.cxx 2022-05-09 22:04:30.000000000 +0100
++++ b/src/decoder/plugins/WildmidiDecoderPlugin.cxx 2022-07-08 07:36:36.238697592 +0100
+@@ -45,7 +45,7 @@ wildmidi_init(const ConfigBlock &block)
+ {
+ const AllocatedPath path =
+ block.GetPath("config_file",
+- "/etc/timidity/timidity.cfg");
++ "/etc/timidity.cfg");
+
+ if (!FileExists(path)) {
+ const auto utf8 = path.ToUTF8();
Show replies by date