mpd/mpd-sndfile.patch
Илья Индиго 0e52de8cf5 - Updated to 0.23.16
* Removed files mpd-fmt11.patch and mpd-icu76.patch.
  * Supported libfmt 11 and ICU 76.
  * https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.23.16/NEWS
  * database: fixed integer overflows with 64-bit inode numbers
  * filter: ffmpeg: fixed for filters producing no output

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=123
2024-12-11 12:12:46 +00:00

21 lines
637 B
Diff

From: Luigi Baldoni <aloisio@gmx.com>
Date: 2018-11-09 21:10:34 +0100
Subject: avoid clash wrt sndfile.h
sndfile.h is present both in /usr/include and /usr/include/libmodplug
This hack hardcodes the path of the first one.
Index: mpd-0.21.1/src/decoder/plugins/SndfileDecoderPlugin.cxx
===================================================================
--- mpd-0.21.1.orig/src/decoder/plugins/SndfileDecoderPlugin.cxx
+++ mpd-0.21.1/src/decoder/plugins/SndfileDecoderPlugin.cxx
@@ -29,7 +29,7 @@
#include <exception>
-#include <sndfile.h>
+#include "/usr/include/sndfile.h"
static constexpr Domain sndfile_domain("sndfile");