head 1.4; access; symbols pkgsrc-2023Q4:1.3.0.2 pkgsrc-2023Q4-base:1.3; locks; strict; comment @// @; 1.4 date 2023.12.30.10.16.49; author wiz; state dead; branches; next 1.3; commitid nOdjh4F40LPBvtSE; 1.3 date 2023.11.14.08.51.03; author wiz; state Exp; branches; next 1.2; commitid 4SHvKlDzuIzRvyME; 1.2 date 2022.08.22.10.59.45; author wiz; state dead; branches; next 1.1; commitid rjsI0WQzL8WOERQD; 1.1 date 2022.07.27.09.42.45; author wiz; state Exp; branches; next ; commitid ylxhKINYdQLb4wND; desc @@ 1.4 log @musicpd: update to 0.23.15. ver 0.23.15 (2023/12/20) * decoder - ffmpeg: fix build failure with FFmpeg 6.1 * output - alsa: limit buffer time to 2 seconds @ text @$NetBSD: patch-src_decoder_plugins_FfmpegIo.cxx,v 1.3 2023/11/14 08:51:03 wiz Exp $ Fix build with ffmpeg 6.1. https://github.com/MusicPlayerDaemon/MPD/issues/1898 --- src/decoder/plugins/FfmpegIo.cxx.orig 2023-10-08 08:11:05.000000000 +0000 +++ src/decoder/plugins/FfmpegIo.cxx @@@@ -26,6 +26,7 @@@@ extern "C" { #include +#include } AvioStream::~AvioStream() @ 1.3 log @musicpd: fix build with ffmpeg 6.1 @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @musicpd: update to 0.23.9. ver 0.23.9 (2022/08/18) * input - cdio_paranoia: add options "mode" and "skip" * decoder - ffmpeg: support FFmpeg 5.1 * filter - replay gain: fix delayed volume display with handler=mixer * output - pipewire: set app icon * fix bogus volume levels with multiple partitions * improve iconv detection * macOS: fix macOS 10 build problem (0.23.8 regression) * Android - load mpd.conf from app data directory @ text @d1 1 a1 1 $NetBSD: patch-src_decoder_plugins_FfmpegIo.cxx,v 1.1 2022/07/27 09:42:45 wiz Exp $ d3 2 a4 2 Fix build with ffmpeg 5.1. https://github.com/MusicPlayerDaemon/MPD/commit/59792cb0b801854ee41be72d33db9542735df754 d6 1 a6 1 --- src/decoder/plugins/FfmpegIo.cxx.orig 2022-07-08 23:05:38.000000000 +0000 d8 1 a8 2 @@@@ -21,10 +21,13 @@@@ #define __STDC_CONSTANT_MACROS d10 4 a13 4 #include "FfmpegIo.hxx" -#include "libavutil/mem.h" #include "../DecoderAPI.hxx" #include "input/InputStream.hxx" a14 4 +extern "C" { +#include "libavutil/mem.h" +} + a15 2 { if (io != nullptr) { @ 1.1 log @musicpd: switch back to ffmpeg5, using an upstream patch. Bump PKGREVISION @ text @d1 1 a1 1 $NetBSD$ @