aboutsummaryrefslogtreecommitdiff
path: root/ports/msgpack11
diff options
context:
space:
mode:
authorLily <47812810+LilyWangL@users.noreply.github.com>2020-05-27 13:13:00 +0800
committerGitHub <noreply@github.com>2020-05-26 22:13:00 -0700
commit4694b885a2d681e5b0c7b54276d665f569249962 (patch)
treecda47315c1a0d49c762b25e9e2b8875fe9c3fb34 /ports/msgpack11
parenta95a5022aecd513b247f069d9055709f43319a7a (diff)
downloadvcpkg-4694b885a2d681e5b0c7b54276d665f569249962.tar.gz
vcpkg-4694b885a2d681e5b0c7b54276d665f569249962.zip
[basisu, gppanel, msgpack11, nana, rapidcheck, folly] Fix std function build error (#11494)
Diffstat (limited to 'ports/msgpack11')
-rw-r--r--ports/msgpack11/CONTROL2
-rw-r--r--ports/msgpack11/fix-additerator.patch12
-rw-r--r--ports/msgpack11/portfile.cmake3
3 files changed, 15 insertions, 2 deletions
diff --git a/ports/msgpack11/CONTROL b/ports/msgpack11/CONTROL
index 8312187bb..3fde8f39c 100644
--- a/ports/msgpack11/CONTROL
+++ b/ports/msgpack11/CONTROL
@@ -1,5 +1,5 @@
Source: msgpack11
-Version: 0.0.10
+Version: 0.0.10-1
Homepage: https://msgpack.org
Build-Depends: gtest
Description: msgpack11 is a tiny MsgPack library for C++11, providing MsgPack parsing and serialization.This library is inspired by json11.The API of msgpack11 is designed to be similar with json11.
diff --git a/ports/msgpack11/fix-additerator.patch b/ports/msgpack11/fix-additerator.patch
new file mode 100644
index 000000000..5a6b23227
--- /dev/null
+++ b/ports/msgpack11/fix-additerator.patch
@@ -0,0 +1,12 @@
+diff --git a/msgpack11.cpp b/msgpack11.cpp
+index fa572fa..640ba9a 100644
+--- a/msgpack11.cpp
++++ b/msgpack11.cpp
+@@ -10,6 +10,7 @@
+ #include <algorithm>
+ #include <functional>
+ #include <stdexcept>
++#include <iterator>
+
+ namespace msgpack11 {
+
diff --git a/ports/msgpack11/portfile.cmake b/ports/msgpack11/portfile.cmake
index 6bd662ae5..cf828f6b1 100644
--- a/ports/msgpack11/portfile.cmake
+++ b/ports/msgpack11/portfile.cmake
@@ -6,7 +6,8 @@ vcpkg_from_github(
SHA512 7b90893f9cdec529789f6e75703f5945c6fc5c946b8708a7a2cb295faf4af111c8cc61265b636f385641031b85181929205be9c5d155f405909445dce85b4ce8
HEAD_REF master
PATCHES
- msvc.patch
+ msvc.patch
+ fix-additerator.patch
)
vcpkg_configure_cmake(