- Add spdlog-1.8.5-fmt8.patch and spdlog-1.8.5-fmt8_tests.patch to fix compatibility with fmt 8 OBS-URL: https://build.opensuse.org/request/show/902202 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=46
23 lines
720 B
Diff
23 lines
720 B
Diff
From 5887744d8b6ddaa3044d1c59f06e2cf24b8e0349 Mon Sep 17 00:00:00 2001
|
|
From: gabime <gmelman1@gmail.com>
|
|
Date: Thu, 24 Jun 2021 15:58:25 +0300
|
|
Subject: [PATCH] Fixed bin2hex to work with fmt v8
|
|
|
|
---
|
|
include/spdlog/fmt/bin_to_hex.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/include/spdlog/fmt/bin_to_hex.h b/include/spdlog/fmt/bin_to_hex.h
|
|
index 1e2b054b1..45bc8f7d8 100644
|
|
--- a/include/spdlog/fmt/bin_to_hex.h
|
|
+++ b/include/spdlog/fmt/bin_to_hex.h
|
|
@@ -209,7 +209,7 @@ struct formatter<spdlog::details::dump_info<T>>
|
|
|
|
if (put_positions)
|
|
{
|
|
- fmt::format_to(inserter, "{:<04X}: ", pos);
|
|
+ fmt::format_to(inserter, "{:04X}: ", pos);
|
|
}
|
|
}
|
|
};
|