Saturday, May 29, 2021

Re: UPDATE: Boost 1.76

On Sun, May 30, 2021 at 02:21:27AM -0400, Brad Smith wrote:
> On Sat, May 29, 2021 at 11:43:27PM -0400, Brad Smith wrote:
> > On Thu, May 06, 2021 at 01:49:43PM -0400, Brad Smith wrote:
> > > On Thu, May 06, 2021 at 12:49:15AM -0400, Brad Smith wrote:
> > > > Here is an update to Boost 1.76.
> > > >
> > > > https://www.boost.org/users/history/version_1_74_0.html
> > > > https://www.boost.org/users/history/version_1_75_0.html
> > > > https://www.boost.org/users/history/version_1_76_0.html
> > > >
> > > > I am just waiting for feedback from a bulk build.
> > > >
> > > > Further review and testing is welcome.
> > >
> > > Here is an updated diff after the MASTER_SITES URL update..
> >
> > Here is an updated diff rolling in an official fix instead of the hack
> > I had put in for a crashing issue I ran into with b2 on OpenBSD.
>
> Adding the sparc64 build fix pointed out by Theo.

Oops. I reversed that. Now it is correct.


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/devel/boost/Makefile,v
retrieving revision 1.113
diff -u -p -u -p -r1.113 Makefile
--- Makefile 10 May 2021 15:08:50 -0000 1.113
+++ Makefile 23 May 2021 16:44:39 -0000
@@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.113 2021/05/10 15:08:50 tb Exp $

-ONLY_FOR_ARCHS-md = aarch64 amd64 arm i386 mips64 mips64el powerpc powerpc64
+ONLY_FOR_ARCHS-md = aarch64 amd64 arm i386 mips64 mips64el powerpc powerpc64 riscv64

COMMENT-main= free peer-reviewed portable C++ source libraries
COMMENT-md= machine-dependent libraries for boost

-VERSION= 1.73.0
+VERSION= 1.76.0
DISTNAME= boost_${VERSION:S/./_/g}
PKGNAME-main= boost-${VERSION}
PKGNAME-md= boost-md-${VERSION}
@@ -13,9 +13,8 @@ CATEGORIES= devel
MASTER_SITES= https://boostorg.jfrog.io/artifactory/main/release/${VERSION}/source/
EXTRACT_SUFX= .tar.bz2
FIX_EXTRACT_PERMISSIONS = Yes
-REVISION-main= 1

-SO_VERSION= 14.0
+SO_VERSION= 15.0
BOOST_LIBS= boost_atomic-mt \
boost_chrono-mt boost_chrono \
boost_container-mt boost_container \
@@ -24,6 +23,7 @@ BOOST_LIBS= boost_atomic-mt \
boost_filesystem-mt boost_filesystem \
boost_graph-mt boost_graph \
boost_iostreams-mt boost_iostreams \
+ boost_json-mt boost_json \
boost_locale-mt \
boost_log-mt boost_log \
boost_log_setup-mt boost_log_setup \
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/devel/boost/distinfo,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 distinfo
--- distinfo 28 Apr 2021 05:08:58 -0000 1.14
+++ distinfo 6 May 2021 17:15:45 -0000
@@ -1,2 +1,2 @@
-SHA256 (boost_1_73_0.tar.bz2) = TrO41EK0Jtw1NGI1yHM7WuNbpDFpDjjGqCY9zp/LtAI=
-SIZE (boost_1_73_0.tar.bz2) = 109247910
+SHA256 (boost_1_76_0.tar.bz2) = 8Dl7pumCxEUPJ78yoqgykqugNbgnpWI6FGNupYMxjEE=
+SIZE (boost_1_76_0.tar.bz2) = 110073117
Index: patches/patch-Jamroot
===================================================================
RCS file: /home/cvs/ports/devel/boost/patches/patch-Jamroot,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 patch-Jamroot
--- patches/patch-Jamroot 28 Apr 2021 05:08:58 -0000 1.10
+++ patches/patch-Jamroot 3 May 2021 19:43:48 -0000
@@ -3,11 +3,14 @@ $OpenBSD: patch-Jamroot,v 1.10 2021/04/2
Index: Jamroot
--- Jamroot.orig
+++ Jamroot
-@@ -146,8 +146,9 @@ import tools/boost\_install/boost-install ;
+@@ -146,11 +146,12 @@ import tools/boost\_install/boost-install ;
path-constant BOOST_ROOT : . ;
- constant BOOST_VERSION : 1.73.0 ;
+ constant BOOST_VERSION : 1.76.0 ;
constant BOOST_JAMROOT_MODULE : $(__name__) ;
+constant SO_VERSION : ${SO_VERSION} ;
+
+ # Allow subprojects to simply `import config : requires ;` to get access to the requires rule
+ modules.poke : BOOST_BUILD_PATH : $(BOOST_ROOT)/libs/config/checks [ modules.peek : BOOST_BUILD_PATH ] ;

-boostcpp.set-version $(BOOST_VERSION) ;
+boostcpp.set-version $(SO_VERSION) ;
Index: patches/patch-boost_asio_detail_config_hpp
===================================================================
RCS file: patches/patch-boost_asio_detail_config_hpp
diff -N patches/patch-boost_asio_detail_config_hpp
--- patches/patch-boost_asio_detail_config_hpp 28 Apr 2021 05:08:58 -0000 1.5
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,23 +0,0 @@
-$OpenBSD: patch-boost_asio_detail_config_hpp,v 1.5 2021/04/28 05:08:58 rsadowski Exp $
-
-Use _POSIX_VERSION to detect support for MSG_NOSIGNAL.
-
-Index: boost/asio/detail/config.hpp
---- boost/asio/detail/config.hpp.orig
-+++ boost/asio/detail/config.hpp
-@@ -1480,4 +1480,15 @@
- # endif // defined(__clang__)
-

No comments:

Post a Comment