Thursday, December 30, 2021

UPDATE: Boost 1.77

Now that there is a workaround for libtorrent-rasterbar here is try #2
at putting Boost 1.77 back in.


Index: devel/boost/Makefile
===================================================================
RCS file: /home/cvs/ports/devel/boost/Makefile,v
retrieving revision 1.124
diff -u -p -u -p -r1.124 Makefile
--- devel/boost/Makefile 22 Nov 2021 13:55:55 -0000 1.124
+++ devel/boost/Makefile 8 Dec 2021 07:20:31 -0000
@@ -5,18 +5,16 @@ NOT_FOR_ARCHS-md = alpha hppa sparc64
COMMENT-main= free peer-reviewed portable C++ source libraries
COMMENT-md= machine-dependent libraries for boost

-VERSION= 1.76.0
+VERSION= 1.77.0
EPOCH = 0
DISTNAME= boost_${VERSION:S/./_/g}
PKGNAME= boost-${VERSION}
-REVISION-main= 2
-REVISION-md= 1
CATEGORIES= devel
MASTER_SITES= https://boostorg.jfrog.io/artifactory/main/release/${VERSION}/source/
EXTRACT_SUFX= .tar.bz2
FIX_EXTRACT_PERMISSIONS = Yes

-SO_VERSION= 17.0
+SO_VERSION= 18.0
BOOST_LIBS= boost_atomic-mt \
boost_chrono-mt boost_chrono \
boost_container-mt boost_container \
@@ -106,8 +104,8 @@ BJAM_CONFIG= -sICU_PATH=${LOCALBASE} \
-j${MAKE_JOBS} \
--layout=tagged-1.66 \
pch=off \
- cflags='${CFLAGS} -pthread' \
- cxxflags='${CXXFLAGS} -pthread' \
+ cflags='${CFLAGS}' \
+ cxxflags='${CXXFLAGS}' \
variant=release \
link=static,shared \
threading=single,multi \
Index: devel/boost/distinfo
===================================================================
RCS file: /home/cvs/ports/devel/boost/distinfo,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 distinfo
--- devel/boost/distinfo 19 Sep 2021 05:23:29 -0000 1.17
+++ devel/boost/distinfo 8 Dec 2021 07:20:47 -0000
@@ -1,2 +1,2 @@
-SHA256 (boost_1_76_0.tar.bz2) = 8Dl7pumCxEUPJ78yoqgykqugNbgnpWI6FGNupYMxjEE=
-SIZE (boost_1_76_0.tar.bz2) = 110073117
+SHA256 (boost_1_77_0.tar.bz2) = /J+F/AMOIzFCkIJBr3qEbmBjCqc4jeml+vsfOiaECFQ=
+SIZE (boost_1_77_0.tar.bz2) = 110361537
Index: devel/boost/patches/patch-Jamroot
===================================================================
RCS file: /home/cvs/ports/devel/boost/patches/patch-Jamroot,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 patch-Jamroot
--- devel/boost/patches/patch-Jamroot 19 Sep 2021 05:23:29 -0000 1.13
+++ devel/boost/patches/patch-Jamroot 8 Dec 2021 07:36:26 -0000
@@ -5,7 +5,7 @@ Index: Jamroot
+++ Jamroot
@@ -146,11 +146,12 @@ import tools/boost\_install/boost-install ;
path-constant BOOST_ROOT : . ;
- constant BOOST_VERSION : 1.76.0 ;
+ constant BOOST_VERSION : 1.77.0 ;
constant BOOST_JAMROOT_MODULE : $(__name__) ;
+constant SO_VERSION : ${SO_VERSION} ;

Index: devel/boost/patches/patch-boost_asio_ssl_impl_context_ipp
===================================================================
RCS file: devel/boost/patches/patch-boost_asio_ssl_impl_context_ipp
diff -N devel/boost/patches/patch-boost_asio_ssl_impl_context_ipp
--- devel/boost/patches/patch-boost_asio_ssl_impl_context_ipp 19 Sep 2021 05:23:29 -0000 1.7
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,77 +0,0 @@
-$OpenBSD: patch-boost_asio_ssl_impl_context_ipp,v 1.7 2021/09/19 05:23:29 rsadowski Exp $
-
-Fix compatibility with recent LibreSSL when OPENSSL_NO_SSL_INTERN is defined.
-
-Index: boost/asio/ssl/impl/context.ipp
---- boost/asio/ssl/impl/context.ipp.orig
-+++ boost/asio/ssl/impl/context.ipp
-@@ -398,7 +398,8 @@ context::~context()
- if (handle_)
- {
- #if ((OPENSSL_VERSION_NUMBER >= 0x10100000L) \
-- && !defined(LIBRESSL_VERSION_NUMBER)) \
-+ && (!defined(LIBRESSL_VERSION_NUMBER) \
-+ || LIBRESSL_VERSION_NUMBER >= 0x2070000fL)) \
- || defined(BOOST_ASIO_USE_WOLFSSL)
- void* cb_userdata = ::SSL_CTX_get_default_passwd_cb_userdata(handle_);
- #else // (OPENSSL_VERSION_NUMBER >= 0x10100000L)
-@@ -411,7 +412,8 @@ context::~context()
- cb_userdata);
- delete callback;
- #if ((OPENSSL_VERSION_NUMBER >= 0x10100000L) \
-- && !defined(LIBRESSL_VERSION_NUMBER)) \
-+ && (!defined(LIBRESSL_VERSION_NUMBER) \
-+ || LIBRESSL_VERSION_NUMBER >= 0x2070000fL)) \
- || defined(BOOST_ASIO_USE_WOLFSSL)
- ::SSL_CTX_set_default_passwd_cb_userdata(handle_, 0);
- #else // (OPENSSL_VERSION_NUMBER >= 0x10100000L)
-@@ -760,7 +762,8 @@ BOOST_ASIO_SYNC_OP_VOID context::use_certificate_chain
- if (bio.p)
- {
- #if ((OPENSSL_VERSION_NUMBER >= 0x10100000L) \
-- && !defined(LIBRESSL_VERSION_NUMBER)) \
-+ && (!defined(LIBRESSL_VERSION_NUMBER) \
-+ || LIBRESSL_VERSION_NUMBER >= 0x2070000fL)) \
- || defined(BOOST_ASIO_USE_WOLFSSL)
- pem_password_cb* callback = ::SSL_CTX_get_default_passwd_cb(handle_);
- void* cb_userdata = ::SSL_CTX_get_default_passwd_cb_userdata(handle_);
-@@ -789,7 +792,8 @@ BOOST_ASIO_SYNC_OP_VOID context::use_certificate_chain
- }
-
- #if ((OPENSSL_VERSION_NUMBER >= 0x10002000L) \
-- && !defined(LIBRESSL_VERSION_NUMBER)) \
-+ && (!defined(LIBRESSL_VERSION_NUMBER) \
-+ || LIBRESSL_VERSION_NUMBER >= 0x2090100fL)) \
- || defined(BOOST_ASIO_USE_WOLFSSL)
- ::SSL_CTX_clear_chain_certs(handle_);
- #else
-@@ -868,7 +872,8 @@ BOOST_ASIO_SYNC_OP_VOID context::use_private_key(
- ::ERR_clear_error();
-
- #if ((OPENSSL_VERSION_NUMBER >= 0x10100000L) \
-- && !defined(LIBRESSL_VERSION_NUMBER)) \
-+ && (!defined(LIBRESSL_VERSION_NUMBER) \
-+ || LIBRESSL_VERSION_NUMBER >= 0x2070000fL)) \
- || defined(BOOST_ASIO_USE_WOLFSSL)
- pem_password_cb* callback = ::SSL_CTX_get_default_passwd_cb(handle_);
- void* cb_userdata = ::SSL_CTX_get_default_passwd_cb_userdata(handle_);
-@@ -937,7 +942,8 @@ BOOST_ASIO_SYNC_OP_VOID context::use_rsa_private_key(
- ::ERR_clear_error();
-
- #if ((OPENSSL_VERSION_NUMBER >= 0x10100000L) \
-- && !defined(LIBRESSL_VERSION_NUMBER)) \
-+ && (!defined(LIBRESSL_VERSION_NUMBER) \
-+ || LIBRESSL_VERSION_NUMBER >= 0x2070000fL)) \
- || defined(BOOST_ASIO_USE_WOLFSSL)
- pem_password_cb* callback = ::SSL_CTX_get_default_passwd_cb(handle_);
- void* cb_userdata = ::SSL_CTX_get_default_passwd_cb_userdata(handle_);
-@@ -1178,7 +1184,8 @@ BOOST_ASIO_SYNC_OP_VOID context::do_set_password_callb
- detail::password_callback_base* callback, boost::system::error_code& ec)
- {
- #if ((OPENSSL_VERSION_NUMBER >= 0x10100000L) \
-- && !defined(LIBRESSL_VERSION_NUMBER)) \
-+ && (!defined(LIBRESSL_VERSION_NUMBER) \
-+ || LIBRESSL_VERSION_NUMBER >= 0x2070000fL)) \
- || defined(BOOST_ASIO_USE_WOLFSSL)
- void* old_callback = ::SSL_CTX_get_default_passwd_cb_userdata(handle_);
- ::SSL_CTX_set_default_passwd_cb_userdata(handle_, callback);
Index: devel/boost/patches/patch-boost_config_platform_bsd_hpp
===================================================================
RCS file: devel/boost/patches/patch-boost_config_platform_bsd_hpp
diff -N devel/boost/patches/patch-boost_config_platform_bsd_hpp
--- devel/boost/patches/patch-boost_config_platform_bsd_hpp 19 Sep 2021 05:23:29 -0000 1.5
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,52 +0,0 @@
-$OpenBSD: patch-boost_config_platform_bsd_hpp,v 1.5 2021/09/19 05:23:29 rsadowski Exp $
-
-Index: boost/config/platform/bsd.hpp
---- boost/config/platform/bsd.hpp.orig
-+++ boost/config/platform/bsd.hpp
-@@ -28,7 +28,8 @@
- // FreeBSD has <nl_types.h> but does not
- // advertise the fact in <unistd.h>:
- //
--#if (defined(__FreeBSD__) && (__FreeBSD__ >= 3)) || defined(__DragonFly__)
-+#if (defined(__FreeBSD__) && (__FreeBSD__ >= 3)) \
-+ || defined(__OpenBSD__) || defined(__DragonFly__)
- # define BOOST_HAS_NL_TYPES_H
-

No comments:

Post a Comment