From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EB664158094 for ; Wed, 13 Jul 2022 18:12:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D25CE0ECE; Wed, 13 Jul 2022 18:12:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 556E8E0ECD for ; Wed, 13 Jul 2022 18:12:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2BA92341114 for ; Wed, 13 Jul 2022 18:12:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 43890456 for ; Wed, 13 Jul 2022 18:12:17 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1657735924.0bae26bdfe05962d899dd38d4b9cbfd119f76d90.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/, dev-libs/boost/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/boost/boost-1.79.0.ebuild dev-libs/boost/files/boost-1.71.0-build-auto_index-tool.patch dev-libs/boost/files/boost-1.71.0-context-x32.patch dev-libs/boost/files/boost-1.71.0-disable_icu_rpath.patch dev-libs/boost/files/boost-1.73-boost-mpi-python-PEP-328.patch dev-libs/boost/files/boost-1.74-CVE-2012-2677.patch dev-libs/boost/files/boost-1.79.0-CVE-2012-2677.patch dev-libs/boost/files/boost-1.79.0-boost-mpi-python-PEP-328.patch dev-libs/boost/files/boost-1.79.0-build-auto_index-tool.patch dev-libs/boost/files/boost-1.79.0-context-x32.patch dev-libs/boost/files/boost-1.79.0-disable_icu_rpath.patch X-VCS-Directories: dev-libs/boost/ dev-libs/boost/files/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 0bae26bdfe05962d899dd38d4b9cbfd119f76d90 X-VCS-Branch: master Date: Wed, 13 Jul 2022 18:12:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dadcc123-2461-4a37-b3ac-066e7d251c7e X-Archives-Hash: 88756e17675791f51c85fc869da8d20b commit: 0bae26bdfe05962d899dd38d4b9cbfd119f76d90 Author: David Seifert gentoo org> AuthorDate: Wed Jul 13 18:12:04 2022 +0000 Commit: David Seifert gentoo org> CommitDate: Wed Jul 13 18:12:04 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bae26bd dev-libs/boost: rebase patches Signed-off-by: David Seifert gentoo.org> dev-libs/boost/boost-1.79.0.ebuild | 10 ++++---- ...2677.patch => boost-1.79.0-CVE-2012-2677.patch} | 28 ++++++++++------------ ...=> boost-1.79.0-boost-mpi-python-PEP-328.patch} | 0 ...ch => boost-1.79.0-build-auto_index-tool.patch} | 0 ...xt-x32.patch => boost-1.79.0-context-x32.patch} | 0 ....patch => boost-1.79.0-disable_icu_rpath.patch} | 0 6 files changed, 17 insertions(+), 21 deletions(-) diff --git a/dev-libs/boost/boost-1.79.0.ebuild b/dev-libs/boost/boost-1.79.0.ebuild index 6e2fec349237..844f6d24b1ff 100644 --- a/dev-libs/boost/boost-1.79.0.ebuild +++ b/dev-libs/boost/boost-1.79.0.ebuild @@ -45,12 +45,12 @@ DEPEND="${RDEPEND}" BDEPEND=">=dev-util/boost-build-1.78.0-r1" PATCHES=( - "${FILESDIR}"/${PN}-1.71.0-disable_icu_rpath.patch - "${FILESDIR}"/${PN}-1.71.0-context-x32.patch - "${FILESDIR}"/${PN}-1.71.0-build-auto_index-tool.patch + "${FILESDIR}"/${PN}-1.79.0-disable_icu_rpath.patch + "${FILESDIR}"/${PN}-1.79.0-context-x32.patch + "${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch # Boost.MPI's __init__.py doesn't work on Py3 - "${FILESDIR}"/${PN}-1.73-boost-mpi-python-PEP-328.patch - "${FILESDIR}"/${PN}-1.74-CVE-2012-2677.patch + "${FILESDIR}"/${PN}-1.79.0-boost-mpi-python-PEP-328.patch + "${FILESDIR}"/${PN}-1.79.0-CVE-2012-2677.patch "${FILESDIR}"/${PN}-1.79.0-fix-mips1-transition.patch ) diff --git a/dev-libs/boost/files/boost-1.74-CVE-2012-2677.patch b/dev-libs/boost/files/boost-1.79.0-CVE-2012-2677.patch similarity index 88% rename from dev-libs/boost/files/boost-1.74-CVE-2012-2677.patch rename to dev-libs/boost/files/boost-1.79.0-CVE-2012-2677.patch index ff947f74f1c4..5dfbf85bc63f 100644 --- a/dev-libs/boost/files/boost-1.74-CVE-2012-2677.patch +++ b/dev-libs/boost/files/boost-1.79.0-CVE-2012-2677.patch @@ -3,10 +3,8 @@ https://bugzilla.redhat.com/show_bug.cgi?id=828856 https://bugs.gentoo.org/620468 https://svn.boost.org/trac10/ticket/6701 -Index: boost/pool/pool.hpp -=================================================================== ---- a/boost/pool/pool.hpp (revision 78317) -+++ b/boost/pool/pool.hpp (revision 78326) +--- a/boost/pool/pool.hpp ++++ b/boost/pool/pool.hpp @@ -27,4 +27,6 @@ #include @@ -14,7 +12,7 @@ Index: boost/pool/pool.hpp +#include // boost::integer::static_lcm #include -@@ -358,4 +360,11 @@ +@@ -356,4 +358,11 @@ } + size_type max_chunks() const @@ -26,7 +24,7 @@ Index: boost/pool/pool.hpp + static void * & nextof(void * const ptr) { //! \returns Pointer dereferenced. -@@ -377,5 +388,7 @@ +@@ -375,5 +384,7 @@ //! the first time that object needs to allocate system memory. //! The default is 32. This parameter may not be 0. - //! \param nmax_size is the maximum number of chunks to allocate in one block. @@ -35,7 +33,7 @@ Index: boost/pool/pool.hpp + set_max_size(nmax_size); } -@@ -400,7 +413,7 @@ +@@ -398,7 +409,7 @@ } void set_next_size(const size_type nnext_size) - { //! Set number of chunks to request from the system the next time that object needs to allocate system memory. This value should never be set to 0. @@ -46,7 +44,7 @@ Index: boost/pool/pool.hpp + next_size = start_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(nnext_size, max_chunks()); } size_type get_max_size() const -@@ -410,5 +423,6 @@ +@@ -408,5 +419,6 @@ void set_max_size(const size_type nmax_size) { //! Set max_size. - max_size = nmax_size; @@ -54,7 +52,7 @@ Index: boost/pool/pool.hpp + max_size = min BOOST_PREVENT_MACRO_SUBSTITUTION(nmax_size, max_chunks()); } size_type get_requested_size() const -@@ -713,7 +727,7 @@ +@@ -709,7 +721,7 @@ BOOST_USING_STD_MIN(); if(!max_size) - next_size <<= 1; @@ -64,7 +62,7 @@ Index: boost/pool/pool.hpp + set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size * requested_size / partition_size)); // initialize it, -@@ -753,7 +767,7 @@ +@@ -749,7 +761,7 @@ BOOST_USING_STD_MIN(); if(!max_size) - next_size <<= 1; @@ -74,14 +72,14 @@ Index: boost/pool/pool.hpp + set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size * requested_size / partition_size)); // initialize it, -@@ -797,4 +811,6 @@ +@@ -793,4 +805,6 @@ //! \returns Address of chunk n if allocated ok. //! \returns 0 if not enough memory for n chunks. + if (n > max_chunks()) + return 0; const size_type partition_size = alloc_size(); -@@ -845,7 +861,7 @@ +@@ -841,7 +855,7 @@ BOOST_USING_STD_MIN(); if(!max_size) - next_size <<= 1; @@ -91,10 +89,8 @@ Index: boost/pool/pool.hpp + set_next_size(min BOOST_PREVENT_MACRO_SUBSTITUTION(next_size << 1, max_size * requested_size / partition_size)); // insert it into the list, -Index: libs/pool/test/test_bug_6701.cpp -=================================================================== ---- a/libs/pool/test/test_bug_6701.cpp (revision 78326) -+++ b/libs/pool/test/test_bug_6701.cpp (revision 78326) +--- a/libs/pool/test/test_bug_6701.cpp ++++ b/libs/pool/test/test_bug_6701.cpp @@ -0,0 +1,27 @@ +/* Copyright (C) 2012 Étienne Dupuis +* diff --git a/dev-libs/boost/files/boost-1.73-boost-mpi-python-PEP-328.patch b/dev-libs/boost/files/boost-1.79.0-boost-mpi-python-PEP-328.patch similarity index 100% rename from dev-libs/boost/files/boost-1.73-boost-mpi-python-PEP-328.patch rename to dev-libs/boost/files/boost-1.79.0-boost-mpi-python-PEP-328.patch diff --git a/dev-libs/boost/files/boost-1.71.0-build-auto_index-tool.patch b/dev-libs/boost/files/boost-1.79.0-build-auto_index-tool.patch similarity index 100% rename from dev-libs/boost/files/boost-1.71.0-build-auto_index-tool.patch rename to dev-libs/boost/files/boost-1.79.0-build-auto_index-tool.patch diff --git a/dev-libs/boost/files/boost-1.71.0-context-x32.patch b/dev-libs/boost/files/boost-1.79.0-context-x32.patch similarity index 100% rename from dev-libs/boost/files/boost-1.71.0-context-x32.patch rename to dev-libs/boost/files/boost-1.79.0-context-x32.patch diff --git a/dev-libs/boost/files/boost-1.71.0-disable_icu_rpath.patch b/dev-libs/boost/files/boost-1.79.0-disable_icu_rpath.patch similarity index 100% rename from dev-libs/boost/files/boost-1.71.0-disable_icu_rpath.patch rename to dev-libs/boost/files/boost-1.79.0-disable_icu_rpath.patch