mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-19 05:17:10 +00:00
7b4333942b
Since fmt 12.2.0, <fmt/core.h> is a shim that only includes <fmt/base.h>, which does not declare fmt::format(). Building mpd 0.24.9 against it fails with: src/net/ToString.cxx:80:16: error: no member named 'format' in namespace 'fmt' src/lib/avahi/Publisher.cxx:37:9: error: no member named 'format' in namespace 'fmt' Add a patch that includes <fmt/format.h> directly in the files that call fmt::format(). This mirrors the upstream fix (MPD commits 88d5b5248d71 and 109c26258b9d), extended to the files present in the 0.24.9 release that call fmt::format() but were not covered by those commits. Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>