diff options
Diffstat (limited to 'dev-libs/spdlog/files')
-rw-r--r-- | dev-libs/spdlog/files/spdlog-0.17.0-unbundle-fmt.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-libs/spdlog/files/spdlog-0.17.0-unbundle-fmt.patch b/dev-libs/spdlog/files/spdlog-0.17.0-unbundle-fmt.patch new file mode 100644 index 000000000000..e3e0df833537 --- /dev/null +++ b/dev-libs/spdlog/files/spdlog-0.17.0-unbundle-fmt.patch @@ -0,0 +1,35 @@ +diff --git a/include/spdlog/fmt/fmt.h b/include/spdlog/fmt/fmt.h +--- a/include/spdlog/fmt/fmt.h ++++ b/include/spdlog/fmt/fmt.h +@@ -18,16 +18,11 @@ + #ifndef FMT_USE_WINDOWS_H + #define FMT_USE_WINDOWS_H 0 + #endif +-#include "bundled/format.h" +-#if defined(SPDLOG_FMT_PRINTF) +-#include "bundled/printf.h" +-#endif + +-#else // external fmtlib ++#endif // external fmtlib + + #include <fmt/format.h> + #if defined(SPDLOG_FMT_PRINTF) + #include <fmt/printf.h> + #endif + +-#endif +diff --git a/include/spdlog/fmt/ostr.h b/include/spdlog/fmt/ostr.h +--- a/include/spdlog/fmt/ostr.h ++++ b/include/spdlog/fmt/ostr.h +@@ -11,8 +11,6 @@ + #ifndef FMT_HEADER_ONLY + #define FMT_HEADER_ONLY + #endif +-#include "bundled/ostream.h" +-#include "fmt.h" +-#else +-#include <fmt/ostream.h> + #endif ++ ++#include <fmt/ostream.h> |