diff options
Diffstat (limited to 'dev-libs/spdlog/files/spdlog-1.0.0-unbundle-fmt.patch')
-rw-r--r-- | dev-libs/spdlog/files/spdlog-1.0.0-unbundle-fmt.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-libs/spdlog/files/spdlog-1.0.0-unbundle-fmt.patch b/dev-libs/spdlog/files/spdlog-1.0.0-unbundle-fmt.patch new file mode 100644 index 000000000000..9b04f276ba55 --- /dev/null +++ b/dev-libs/spdlog/files/spdlog-1.0.0-unbundle-fmt.patch @@ -0,0 +1,29 @@ +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 +@@ -16,10 +16,7 @@ + #endif + #ifndef FMT_USE_WINDOWS_H + #define FMT_USE_WINDOWS_H 0 +-#endif +-#include "bundled/core.h" +-#include "bundled/format.h" +-#else // external fmtlib ++#endif // external fmtlib + #include <fmt/core.h> + #include <fmt/format.h> + #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> |