head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.24 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.22 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.20 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.18 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.16 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.14 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.12 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.10 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.8 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.6 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.4 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.2 pkgsrc-2023Q2-base:1.1; locks; strict; comment @// @; 1.1 date 2023.05.21.06.27.31; author wiz; state Exp; branches; next ; commitid VwbEDnwuN1RhpNpE; desc @@ 1.1 log @easyrpg-player: adapt some code for fmtlib 10 XXX: more to do @ text @$NetBSD$ Adapt for fmtlib 10. --- src/bitmap.cpp.orig 2021-10-29 19:42:00.000000000 +0000 +++ src/bitmap.cpp @@@@ -96,7 +96,7 @@@@ Bitmap::Bitmap(Filesystem_Stream::InputS pixman_format = find_format(format); if (!stream) { - Output::Error("Couldn't read image file {}", stream.GetName()); + Output::Error("Couldn't read image file {}", std::string(stream.GetName())); return; } @@@@ -117,7 +117,7 @@@@ Bitmap::Bitmap(Filesystem_Stream::InputS else if (bytes >= 4 && strncmp((char*)(data + 1), "PNG", 3) == 0) img_okay = ImagePNG::ReadPNG(stream, transparent, w, h, pixels); else - Output::Warning("Unsupported image file {} (Magic: {:02X})", stream.GetName(), *reinterpret_cast(data)); + Output::Warning("Unsupported image file {} (Magic: {:02X})", std::string(stream.GetName()), *reinterpret_cast(data)); if (!img_okay) { free(pixels); @