Unbreak with devel/boost>=1.67.0
This commit is contained in:
parent
ffac2e2166
commit
236fca81f1
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2019/07/12 20:46:04 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2020/08/15 20:30:51 rsadowski Exp $
|
||||
|
||||
COMMENT = YAML parser and emitter in C++
|
||||
|
||||
@ -7,7 +7,7 @@ GH_ACCOUNT= jbeder
|
||||
GH_PROJECT= yaml-cpp
|
||||
GH_TAGNAME= release-$V
|
||||
DISTNAME = yaml-cpp-$V
|
||||
REVISION = 6
|
||||
REVISION = 7
|
||||
|
||||
SHARED_LIBS = yaml-cpp 2.0 # 0.5
|
||||
|
||||
|
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-include_yaml-cpp_node_detail_iterator_h,v 1.1 2020/08/15 20:30:51 rsadowski Exp $
|
||||
|
||||
Index: include/yaml-cpp/node/detail/iterator.h
|
||||
--- include/yaml-cpp/node/detail/iterator.h.orig
|
||||
+++ include/yaml-cpp/node/detail/iterator.h
|
||||
@@ -44,7 +44,7 @@ namespace YAML
|
||||
private:
|
||||
friend class boost::iterator_core_access;
|
||||
|
||||
- void increment() { this->base_reference() = boost::next(this->base()); }
|
||||
+ void increment() { this->base_reference() = std::next(this->base()); }
|
||||
|
||||
value_type dereference() const {
|
||||
const typename base_type::value_type& v = *this->base();
|
14
devel/yaml-cpp/patches/patch-src_node_data_cpp
Normal file
14
devel/yaml-cpp/patches/patch-src_node_data_cpp
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-src_node_data_cpp,v 1.1 2020/08/15 20:30:51 rsadowski Exp $
|
||||
|
||||
Index: src/node_data.cpp
|
||||
--- src/node_data.cpp.orig
|
||||
+++ src/node_data.cpp
|
||||
@@ -97,7 +97,7 @@ namespace YAML
|
||||
{
|
||||
kv_pairs::iterator it = m_undefinedPairs.begin();
|
||||
while(it != m_undefinedPairs.end()) {
|
||||
- kv_pairs::iterator jt = boost::next(it);
|
||||
+ kv_pairs::iterator jt = std::next(it);
|
||||
if(it->first->is_defined() && it->second->is_defined())
|
||||
m_undefinedPairs.erase(it);
|
||||
it = jt;
|
Loading…
Reference in New Issue
Block a user