From cb838d2e468df09f90a4cd4b57cb3ff2b66367e4 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 9 Aug 2025 02:40:57 +0200 Subject: devel/avro-cpp: fix const bugs in custom formatters These will break with fmt 11.2. Since the project is broken in other ways, do only the minimum so it will survive a feature-incomplete inefficient "TRYBROKEN=yes" build, and then mark it BROKEN with its bugs. PR: 286858 Reported by: diizzy@ Approved by: maintainer timeout (sunpoet@, 82 days) --- devel/avro-cpp/files/patch-include_avro_Node.hh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devel/avro-cpp/files/patch-include_avro_Node.hh (limited to 'devel/avro-cpp/files/patch-include_avro_Node.hh') diff --git a/devel/avro-cpp/files/patch-include_avro_Node.hh b/devel/avro-cpp/files/patch-include_avro_Node.hh new file mode 100644 index 000000000000..bf11578b713f --- /dev/null +++ b/devel/avro-cpp/files/patch-include_avro_Node.hh @@ -0,0 +1,11 @@ +--- include/avro/Node.hh.orig 2024-07-26 07:46:40 UTC ++++ include/avro/Node.hh +@@ -219,7 +219,7 @@ struct fmt::formatter : fmt::formatter + struct fmt::formatter : fmt::formatter { + template +- auto format(const avro::Name &n, FormatContext &ctx) { ++ auto format(const avro::Name &n, FormatContext &ctx) const { + return fmt::formatter::format(n.fullname(), ctx); + } + }; -- cgit v1.2.3