summaryrefslogtreecommitdiff
path: root/devel/avro-cpp/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/avro-cpp/files')
-rw-r--r--devel/avro-cpp/files/patch-include_avro_Node.hh11
-rw-r--r--devel/avro-cpp/files/patch-include_avro_Types.hh11
2 files changed, 22 insertions, 0 deletions
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<avro::Name> : fmt::formatter<std
+ template<>
+ struct fmt::formatter<avro::Name> : fmt::formatter<std::string> {
+ template<typename FormatContext>
+- auto format(const avro::Name &n, FormatContext &ctx) {
++ auto format(const avro::Name &n, FormatContext &ctx) const {
+ return fmt::formatter<std::string>::format(n.fullname(), ctx);
+ }
+ };
diff --git a/devel/avro-cpp/files/patch-include_avro_Types.hh b/devel/avro-cpp/files/patch-include_avro_Types.hh
new file mode 100644
index 000000000000..097457641fe8
--- /dev/null
+++ b/devel/avro-cpp/files/patch-include_avro_Types.hh
@@ -0,0 +1,11 @@
+--- include/avro/Types.hh.orig 2024-07-26 07:46:40 UTC
++++ include/avro/Types.hh
+@@ -113,7 +113,7 @@ struct fmt::formatter<avro::Type> : fmt::formatter<std
+ template<>
+ struct fmt::formatter<avro::Type> : fmt::formatter<std::string> {
+ template<typename FormatContext>
+- auto format(avro::Type t, FormatContext &ctx) {
++ auto format(avro::Type t, FormatContext &ctx) const {
+ return fmt::formatter<std::string>::format(avro::toString(t), ctx);
+ }
+ };