dev-libs/spdlog: fix compilation error
authorDavid Roman <davidroman96@gmail.com>
Sun, 28 Oct 2018 14:09:32 +0000 (15:09 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 31 Oct 2018 18:54:30 +0000 (19:54 +0100)
Closes: https://bugs.gentoo.org/656350
Signed-off-by: David Roman <davidroman96@gmail.com>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
dev-libs/spdlog/files/spdlog-1.0.0-unbundle-fmt.patch

index 9b04f276ba55889336e9067d5a602fb2d91f4ef7..c039dc47a6aea0f25b642b2756231b26a1d9773d 100644 (file)
@@ -1,18 +1,18 @@
 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
+@@ -17,9 +17,7 @@
  #ifndef FMT_USE_WINDOWS_H
  #define FMT_USE_WINDOWS_H 0
--#endif
+ #endif
 -#include "bundled/core.h"
 -#include "bundled/format.h"
 -#else // external fmtlib
 +#endif // external fmtlib
++
  #include <fmt/core.h>
  #include <fmt/format.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