Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2018 06:38:30 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r467677 - head/databases/mongodb36/files
Message-ID:  <201804180638.w3I6cUuq058285@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Apr 18 06:38:30 2018
New Revision: 467677
URL: https://svnweb.freebsd.org/changeset/ports/467677

Log:
  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)

Added:
  head/databases/mongodb36/files/patch-boost-1.67   (contents, props changed)

Added: head/databases/mongodb36/files/patch-boost-1.67
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/mongodb36/files/patch-boost-1.67	Wed Apr 18 06:38:30 2018	(r467677)
@@ -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 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804180638.w3I6cUuq058285>