diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2018-04-18 06:38:58 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2018-04-18 06:38:58 +0000 |
commit | 36c528eef3b49510c2ecb150b4e79af494ece2f4 (patch) | |
tree | 221e9212d71b6ca8460a71d21b4120186acbf6af /databases/mongodb34 | |
parent | 10504ff3ba01ff8d4f81f13a125b67bf01a27b14 (diff) | |
download | ports-36c528eef3b49510c2ecb150b4e79af494ece2f4.tar.gz ports-36c528eef3b49510c2ecb150b4e79af494ece2f4.zip |
Notes
Diffstat (limited to 'databases/mongodb34')
-rw-r--r-- | databases/mongodb34/files/patch-boost-1.67 | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/databases/mongodb34/files/patch-boost-1.67 b/databases/mongodb34/files/patch-boost-1.67 new file mode 100644 index 000000000000..a8ccacbf3499 --- /dev/null +++ b/databases/mongodb34/files/patch-boost-1.67 @@ -0,0 +1,24 @@ +In file included from src/third_party/yaml-cpp-0.5.3/src/convert.cpp:3: +In file included from src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/convert.h:17: +In file included from src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/impl.h:11: +In file included from src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/iterator.h:13: +src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/detail/iterator.h:48:54: error: no member named 'next' in namespace 'boost' + void increment() { this->base_reference() = boost::next(this->base()); } + ~~~~~~~^ + +--- src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/detail/iterator.h.orig 2017-09-07 19:28:48 UTC ++++ src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/detail/iterator.h +@@ -11,7 +11,13 @@ + #include "yaml-cpp/node/ptr.h" + #include "yaml-cpp/node/detail/node_iterator.h" + #include <boost/iterator/iterator_adaptor.hpp> ++ ++#include <boost/version.hpp> ++#if BOOST_VERSION < 106700 + #include <boost/utility.hpp> ++#else ++#include <boost/next_prior.hpp> ++#endif + + namespace YAML { + namespace detail { |