diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2018-04-18 06:38:30 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2018-04-18 06:38:30 +0000 |
commit | 10504ff3ba01ff8d4f81f13a125b67bf01a27b14 (patch) | |
tree | 69c08bd6e7db5cdcdc738e5add65287f77285d35 /databases | |
parent | Redirect expired irc/xchat to irc/hexchat (diff) |
databases/mongodb36: unbreak with boost 1.67
In file included from src/third_party/yaml-cpp-0.5.3/src/nodebuilder.cpp:5:
In file included from src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/detail/node.h:14:
In file included from src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/detail/node_ref.h:13:
In file included from src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/detail/node_data.h:20:
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()); }
~~~~~~~^
PR: 227427
Reported by: antoine (via exp-run)
Notes
Notes:
svn path=/head/; revision=467677
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mongodb36/files/patch-boost-1.67 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/databases/mongodb36/files/patch-boost-1.67 b/databases/mongodb36/files/patch-boost-1.67 new file mode 100644 index 000000000000..fa8118f5c08c --- /dev/null +++ b/databases/mongodb36/files/patch-boost-1.67 @@ -0,0 +1,25 @@ +In file included from src/third_party/yaml-cpp-0.5.3/src/nodebuilder.cpp:5: +In file included from src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/detail/node.h:14: +In file included from src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/detail/node_ref.h:13: +In file included from src/third_party/yaml-cpp-0.5.3/include/yaml-cpp/node/detail/node_data.h:20: +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 2018-02-16 21:50:58 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 { |