After bug 227427 lands this port will end up BROKEN. Can you help?
$ fetch -qo- 'https://reviews.freebsd.org/D15030?download=true' | patch -Efsp0 -d /usr/ports
$ make all deinstall install clean -C/usr/ports/devel/boost-jam
$ make all deinstall install clean -C/usr/ports/devel/boost-libs
$ make all deinstall install clean -C/usr/ports/devel/boost-python-libs
$ make -C/usr/ports/editors/openoffice-4
basegfx/source/range/b2drangeclipper.cxx:754:40: error: no member named 'prior' in namespace 'boost'
build log: https://ptpb.pw/J48y https://ptpb.pw/i8UD
regressed by: https://github.com/boostorg/utility/commit/b74f49f1e56e
(In reply to Jan Beich from comment #0)
The release notes say:
Breaking change: <boost/utility.hpp> header no longer includes boost::next and boost::prior as they have been moved to the iterator module. Instead include <boost/next_prior.hpp>. Other uses of <boost/utility.hpp> are discouraged, it's better to use the header for the specific functionality instead.
So a simple replacement should work.
s a side note: I am not sure how to upstream this since upstream still carries a very old boost version to accompany the older MSVC compiler.
Something like this should work:
#if BOOST_VERSION < 106700
Don't forget to remove BROKEN line added on Boost 1.67 landing.
A commit references this bug:
Date: Wed Apr 18 21:06:00 UTC 2018
New revision: 467736
Fix editors/openoffice-4 build with boost 1.67 by checking the boost
version and including <boost/next_prior.hpp> instead of
<boost/utility.hpp> when the new version of boost is detected.
Reported by: jbeich
Created attachment 192636 [details]
Looking at opengrok, it appears boost:prior is only used twice. No uses of boost:next.
The attached patch (against AOO trunk) should fix it but is untested.
(In reply to Pedro F. Giffuni from comment #5)
Nevermind .. basically the same patch was committed already.
I will upstream this.
The hangup has been finding enough CPU cycles for test builds ...
(In reply to Don Lewis from comment #7)
I hear you ...
It does look good and the ASF buildbots all show green lights :).
editors/openoffice-devel has been fixed by upgrading to upstream SVN r1829757
which incorporates the fix for boost 1.67.
Date: Sun Apr 22 17:09:14 2018
New Revision: 468039
Upgrade openoffice-devel to upstream SVN r1829757.
The fix for compatibility with boost 1.67 has been upstreamed, so
Upstream has switched from gstreamer 0.10 to gstreamer 1.x, so change
our dependency to match. Don't specify an explicit LIB_DEPENDS in
addition to USE_GSTREAMER1.
Most of the patches to work around various compiler issues have been
upstreamed, so remove them here.