Re: [Buildroot] [PATCH 1/1] package/mpd fix build failure with fmt 12.2.0

Bernd Kuhls <[email protected]>
Newsgroups net.busybox.buildroot
Message-ID <pan$c5e67$ff02e404$98c8e8a6$5a2cf667@ID-313208.user.individual.net>
Am Thu,  9 Jul 2026 16:01:42 +0200 schrieb Andreas Ziegler:

> Building mpd with fmt 12.2.0 fails with:
> 
> ../src/net/ToString.cxx: In function 'std::string
> ToString(SocketAddress)': ../src/net/ToString.cxx:80:37: error: 'format'
> is not a member of 'fmt'
>    80 |                         return fmt::format("[{}]:{}", host,
>    serv);
>       |                                     ^~~~~~
> ../src/net/ToString.cxx:84:29: error: 'format' is not a member of 'fmt'
>    84 |                 return fmt::format("{}:{}", host, serv);
>       |                             ^~~~~~
> 

Hi Andreas,

what about backporting
https://github.com/MusicPlayerDaemon/MPD/commit/
88d5b5248d71862815da336cfd1c6f66626bb4d4

The patch applies cleanly to mpd-0.24.12.

Regards, Bernd

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.