aboutsummaryrefslogtreecommitdiff
path: root/ports/spdlog
diff options
context:
space:
mode:
authorCuroky <cccuroky@gmail.com>2020-03-03 01:35:36 +0800
committerGitHub <noreply@github.com>2020-03-02 09:35:36 -0800
commit705764c63549953c049b34c7a2d67b377d0bd006 (patch)
tree7bf5b86b4d5df51fabe9d7c2a4377021c0fcd3d6 /ports/spdlog
parentc3ac3b24ffbc1c6e4fb759c8cd8e7a5aff9a3b94 (diff)
downloadvcpkg-705764c63549953c049b34c7a2d67b377d0bd006.tar.gz
vcpkg-705764c63549953c049b34c7a2d67b377d0bd006.zip
[fmt] Update to 6.1.2 (#10080)
* [fmt] Update to 6.1.2 * [spdlog] add patch to fix include missing * [fmt] check if file exists before file(RENAME ...) * [spdlog] bump version to 1.4.2-2 * [fmt][spdlog] Fix version number
Diffstat (limited to 'ports/spdlog')
-rw-r--r--ports/spdlog/CONTROL4
-rw-r--r--ports/spdlog/fix-include.patch12
-rw-r--r--ports/spdlog/portfile.cmake1
3 files changed, 15 insertions, 2 deletions
diff --git a/ports/spdlog/CONTROL b/ports/spdlog/CONTROL
index 4c27da425..e7f91fc94 100644
--- a/ports/spdlog/CONTROL
+++ b/ports/spdlog/CONTROL
@@ -1,9 +1,9 @@
Source: spdlog
-Version: 1.4.2
+Version: 1.4.2-1
Homepage: https://github.com/gabime/spdlog
Description: Very fast, header only, C++ logging library
Build-Depends: fmt
Feature: benchmark
Description: Use google benchmark
-Build-Depends: benchmark \ No newline at end of file
+Build-Depends: benchmark
diff --git a/ports/spdlog/fix-include.patch b/ports/spdlog/fix-include.patch
new file mode 100644
index 000000000..7f5539201
--- /dev/null
+++ b/ports/spdlog/fix-include.patch
@@ -0,0 +1,12 @@
+diff --git a/include/spdlog/common.h b/include/spdlog/common.h
+index e1108a0a..b4faf26e 100644
+--- a/include/spdlog/common.h
++++ b/include/spdlog/common.h
+@@ -14,6 +14,7 @@
+ #include <string>
+ #include <type_traits>
+ #include <functional>
++#include <cassert>
+
+ #ifdef _WIN32
+ #ifndef NOMINMAX
diff --git a/ports/spdlog/portfile.cmake b/ports/spdlog/portfile.cmake
index 0bbad6d61..f62234090 100644
--- a/ports/spdlog/portfile.cmake
+++ b/ports/spdlog/portfile.cmake
@@ -9,6 +9,7 @@ vcpkg_from_github(
fix-feature-export.patch
fix-error-4275.patch
fix-uwp.patch
+ fix-include.patch
)
set(SPDLOG_USE_BENCHMARK OFF)