diff options
Diffstat (limited to 'devel/avro-cpp')
-rw-r--r-- | devel/avro-cpp/Makefile | 5 | ||||
-rw-r--r-- | devel/avro-cpp/files/patch-include_avro_Node.hh | 11 | ||||
-rw-r--r-- | devel/avro-cpp/files/patch-include_avro_Types.hh | 11 |
3 files changed, 25 insertions, 2 deletions
diff --git a/devel/avro-cpp/Makefile b/devel/avro-cpp/Makefile index 84f0f36a00b2..de44b58cf3ba 100644 --- a/devel/avro-cpp/Makefile +++ b/devel/avro-cpp/Makefile @@ -1,6 +1,6 @@ PORTNAME= avro PORTVERSION= 1.12.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel MASTER_SITES= APACHE/avro/avro-${PORTVERSION}/cpp PKGNAMESUFFIX= -cpp @@ -11,10 +11,11 @@ COMMENT= C++ library for Apache Avro WWW= https://avro.apache.org/ \ https://github.com/apache/avro +BROKEN= Lots of cmake warnings, does not find snappy, does not link libfmt dynamically + LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= libfmt>=10.2.1<10.2.1_99:devel/libfmt LIB_DEPENDS= libboost_regex.so:devel/boost-libs \ libfmt.so:devel/libfmt \ libsnappy.so:archivers/snappy 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); + } + }; |