head 1.3; access; symbols pkgsrc-2024Q4:1.2.0.4 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.2 pkgsrc-2024Q3-base:1.2; locks; strict; comment @// @; 1.3 date 2025.01.09.07.47.46; author wiz; state dead; branches; next 1.2; commitid FCIvhWAkk8r8BMEF; 1.2 date 2024.07.15.10.06.15; author adam; state Exp; branches; next 1.1; commitid fluZUHE7ljep5VhF; 1.1 date 2024.07.14.23.20.52; author mrg; state Exp; branches; next ; commitid 1GdayJmOPt4HvRhF; desc @@ 1.3 log @musicpd: remove patches that were removed from distinfo during update @ text @$NetBSD: patch-src_lib_fmt_AudioFormatFormatter.hxx,v 1.2 2024/07/15 10:06:15 adam Exp $ --- src/lib/fmt/AudioFormatFormatter.hxx.orig 2023-12-20 07:21:57.000000000 -0800 +++ src/lib/fmt/AudioFormatFormatter.hxx 2024-07-14 16:13:04.360021663 -0700 @@@@ -39,7 +39,7 @@@@ struct fmt::formatter : formatter { template - auto format(const SampleFormat format, FormatContext &ctx) { + auto format(const SampleFormat format, FormatContext &ctx) const { return formatter::format(sample_format_to_string(format), ctx); } @@@@ -49,7 +49,7 @@@@ struct fmt::formatter : formatter { template - auto format(const AudioFormat &af, FormatContext &ctx) { + auto format(const AudioFormat &af, FormatContext &ctx) const { return formatter::format(ToString(af).c_str(), ctx); } @ 1.2 log @musicpd: fix patches; fix build with fmtlib 11 @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @fix the build since fmtlib 11 import. taken from upstream commit: https://github.com/MusicPlayerDaemon/MPD/commit/1402869715e3efca87942d79c3173a6b21a6925d lib/fmt: support build with libfmt-11.0.0 Upstream libfmt commit fmtlib/fmt@@d707292 now requires the format function to be const. Adjust the function prototype so it is const and can compile. Signed-off-by: Rudi Heitbaum @ text @d1 2 @