devel/boost-libs: backport minor regression fix

/usr/local/include/boost/lockfree/spsc_queue.hpp:140:43: error: no member named 'next' in namespace 'boost'
        const ConstIterator last = boost::next(begin, input_count);
                                   ~~~~~~~^
/usr/local/include/boost/lockfree/spsc_queue.hpp:145:51: error: no member named 'next' in namespace 'boost'
            const ConstIterator midpoint = boost::next(begin, count0);
                                           ~~~~~~~^

Obtained from:	upstream (via Homebrew)
This commit is contained in:
Jan Beich 2018-04-18 17:48:14 +00:00
parent 92f200418a
commit 17822792ad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=467723
2 changed files with 13 additions and 1 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= boost-libs
PORTREVISION= 0
PORTREVISION= 1
COMMENT= Free portable C++ libraries (without Boost.Python)

View file

@ -0,0 +1,12 @@
https://github.com/boostorg/lockfree/commit/12726cda009a
--- boost/lockfree/spsc_queue.hpp.orig 2018-04-11 13:49:04 UTC
+++ boost/lockfree/spsc_queue.hpp
@@ -17,6 +17,7 @@
#include <boost/assert.hpp>
#include <boost/static_assert.hpp>
#include <boost/utility.hpp>
+#include <boost/next_prior.hpp>
#include <boost/utility/enable_if.hpp>
#include <boost/config.hpp> // for BOOST_LIKELY