mpd/mpd-fluidsynth.patch
Olaf Hering 09896b0a81 - Update to ver 0.20.21 (2018/08/17)
* database
    - proxy: add "password" setting
    - proxy: support tags "ArtistSort", "AlbumArtistSort", "AlbumSort"
    - simple: allow .mpdignore comments only at start of line
    - proxy: fix "search already in progress" errors
    - proxy: implement "list ... group"
  * decoder
    - dsdiff, dsf: support more MIME types
    - dsdiff, dsf: allow 4 MB ID3 tags
    - opus: support R128_ALBUM_GAIN tag
    - ffmpeg: fix av_register_all() deprecation warning (FFmpeg 4.0)
  * input
    - mms: fix lockup bug and a crash bug
  * output
    - httpd: remove broken DLNA support code
    - pulse: cork stream when paused due to "single" mode
  * playlist
    - cue: support file type declaration "FLAC" (non-standard)
  * player
    - fix spurious "Not seekable" error when switching radio streams
  * protocol
    - fix "modified-since" filter regression
    - validate absolute seek time, reject negative values
  * URI schemes are case insensitive
- deal with API change in fluidsynth with mpd-fluidsynth.patch
- use autosetup

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=14
2018-10-17 12:44:37 +00:00

15 lines
502 B
Diff

--- a/src/decoder/plugins/FluidsynthDecoderPlugin.cxx
+++ b/src/decoder/plugins/FluidsynthDecoderPlugin.cxx
@@ -64,7 +64,11 @@ fluidsynth_level_to_mpd(enum fluid_log_l
* logging library.
*/
static void
+#if FLUIDSYNTH_VERSION_MAJOR == 1
fluidsynth_mpd_log_function(int level, char *message, gcc_unused void *data)
+#else
+fluidsynth_mpd_log_function(int level, const char *message, gcc_unused void *data)
+#endif
{
Log(fluidsynth_domain,
fluidsynth_level_to_mpd(fluid_log_level(level)),