From 75e643a37e06b45b6d8cc8efed3b19e45d64af40 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 24 Jun 2021 19:31:50 +0100 Subject: dev-libs/spdlog : import from gentoo, fix compiling against libfmt8 ( https://bugs.gentoo.org/797394 ) --- dev-libs/spdlog/files/libfmt8.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 dev-libs/spdlog/files/libfmt8.patch (limited to 'dev-libs/spdlog/files/libfmt8.patch') diff --git a/dev-libs/spdlog/files/libfmt8.patch b/dev-libs/spdlog/files/libfmt8.patch new file mode 100644 index 00000000..8d38335f --- /dev/null +++ b/dev-libs/spdlog/files/libfmt8.patch @@ -0,0 +1,11 @@ +--- a/include/spdlog/common-inl.h 2021-06-21 17:15:26.695992698 -0600 ++++ b/include/spdlog/common-inl.h 2021-06-21 17:15:52.205992496 -0600 +@@ -60,7 +60,7 @@ + SPDLOG_INLINE spdlog_ex::spdlog_ex(const std::string &msg, int last_errno) + { + memory_buf_t outbuf; +- fmt::format_system_error(outbuf, last_errno, msg); ++ fmt::format_system_error(outbuf, last_errno, msg.c_str()); + msg_ = fmt::to_string(outbuf); + } + -- cgit v1.2.3