mpd/mpd-sndfile.patch
Olaf Hering bb938ee9ac Accepting request 647671 from home:alois:branches:multimedia:apps
- Update to version 0.21.1, fixes (boo#1114607)
  * protocol
    + allow escaping quotes in filter expressions
    + operator "==" never searches substrings in filter
      expressions
  * decoder
    + ffmpeg: fix build failure with non-standard FFmpeg
      installation path
    + flac: fix linker failure when building without FLAC support
  * encoder
    + vorbis: fix linker failure when building without Vorbis
      decoder
  * fix build failure on Linux-PowerPC
  * add warning about buggy Boost version 1.67
  * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our
    build
  version 0.21
  * configuration
    + add "include" directive, allows including config files
    + incremental "metadata_to_use" setting
  * protocol
    + "tagtypes" can be used to hide tags
    + "find" and "search" can sort
    + "outputs" prints the plugin name
    + "outputset" sets runtime attributes
    + close connection when client sends HTTP request
    + new filter syntax for "find"/"search" etc. with negation
  * database
    + simple: scan audio formats
    + proxy: require libmpdclient 2.9
    + proxy: forward `sort` and `window` to server
  * player
    + hard-code "buffer_before_play" to 1 second, independent of
      audio format
    + "one-shot" single mode
  * input
    + curl: download to buffer instead of throttling transfer
    + qobuz: new plugin to play Qobuz streams
    + tidal: new plugin to play Tidal streams
  * tags
    + new tags "OriginalDate", "MUSICBRAINZ_WORKID"
  * decoder
    + ffmpeg: require at least version 11.12
    + gme: try loading m3u sidecar files
    + hybrid_dsd: new decoder plugin
    + mad: move "gapless_mp3_playback" setting to "decoder" block
    + mikmod: require at least version 3.2
    + pcm: support audio/L24 (RFC 3190)
    + sidplay: support basic and kernal rom (libsidplayfp)
  * resampler
    + soxr: flush resampler at end of song
  * output
    + alsa: non-blocking mode
    + alsa: change "dop" and "allowed_formats" settings at
      runtime
    + ao: fix crash bug due to partial frames
    + shout: support the Shine encoder plugin
    + sndio: remove support for the broken RoarAudio sndio
      emulation
    + roar: removed
    + httpd_output: support for unix sockets
  * mixer
    + sndio: new mixer plugin
  * encoder
    + opus: support for sending metadata using ogg stream
      chaining
  * listen on $XDG_RUNTIME_DIR/mpd/socket by default
  * append hostname to Zeroconf service name
  * systemd watchdog support
  * require GCC 6
  * build with Meson instead of autotools
  * use GTest instead of cppunit
  version 0.20.23
  * protocol
    + emit "player" idle event when restarting the current song
  * fix broken float to s32 conversion
  * new clang crash bug workaround
- Dropped mpd-configh.patch (no longer necessary)
- Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch
- Switched build to meson

OBS-URL: https://build.opensuse.org/request/show/647671
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 11:49:47 +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");