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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 360F81382C5 for ; Sun, 7 Jun 2020 12:40:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 415E0E0919; Sun, 7 Jun 2020 12:40:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 11D29E0919 for ; Sun, 7 Jun 2020 12:40:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5FA7634E89A for ; Sun, 7 Jun 2020 12:40:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E51A71F9 for ; Sun, 7 Jun 2020 12:40:36 +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: <1591533623.1c35cce1b3edeb2df6cba467900b34dd4f56f67a.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.73.0.ebuild dev-libs/boost/files/boost-1.73-property-tree-include.patch X-VCS-Directories: dev-libs/boost/files/ dev-libs/boost/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 1c35cce1b3edeb2df6cba467900b34dd4f56f67a X-VCS-Branch: master Date: Sun, 7 Jun 2020 12:40:36 +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: 77e734a3-ac0d-46b0-82a2-0c5a57264ead X-Archives-Hash: e9a4163cd9d7142099173fd654faff5a commit: 1c35cce1b3edeb2df6cba467900b34dd4f56f67a Author: David Seifert gentoo org> AuthorDate: Sun Jun 7 12:40:23 2020 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Jun 7 12:40:23 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c35cce1 dev-libs/boost: Silence warning Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: David Seifert gentoo.org> dev-libs/boost/boost-1.73.0.ebuild | 2 + .../files/boost-1.73-property-tree-include.patch | 45 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-libs/boost/boost-1.73.0.ebuild b/dev-libs/boost/boost-1.73.0.ebuild index 2ee4e6a8b00..ae462476523 100644 --- a/dev-libs/boost/boost-1.73.0.ebuild +++ b/dev-libs/boost/boost-1.73.0.ebuild @@ -57,6 +57,8 @@ PATCHES=( "${FILESDIR}"/${PN}-1.73-boost-python-cleanup.patch # Boost.MPI's __init__.py doesn't work on Py3 "${FILESDIR}"/${PN}-1.73-boost-mpi-python-PEP-328.patch + # Remove annoying #pragma message + "${FILESDIR}"/${PN}-1.73-property-tree-include.patch ) python_bindings_needed() { diff --git a/dev-libs/boost/files/boost-1.73-property-tree-include.patch b/dev-libs/boost/files/boost-1.73-property-tree-include.patch new file mode 100644 index 00000000000..539388275bc --- /dev/null +++ b/dev-libs/boost/files/boost-1.73-property-tree-include.patch @@ -0,0 +1,45 @@ +From d1c8825a45a0717e1ad79583d3283b0e5e32831e Mon Sep 17 00:00:00 2001 +From: Andrey Semashev +Date: Tue, 28 Apr 2020 22:03:04 +0300 +Subject: [PATCH] Fix usage of deprecated Boost.Bind features + +This fixes deprecation warnings generated by boost/bind.hpp. + +Also, use a more actual include path for ref.hpp. +--- + boost/property_tree/json_parser/detail/parser.hpp | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/boost/property_tree/json_parser/detail/parser.hpp b/boost/property_tree/json_parser/detail/parser.hpp +index 5554990fb..6cf636394 100644 +--- a/boost/property_tree/json_parser/detail/parser.hpp ++++ b/boost/property_tree/json_parser/detail/parser.hpp +@@ -3,8 +3,8 @@ + + #include + +-#include +-#include ++#include ++#include + #include + + #include +@@ -214,7 +214,7 @@ namespace boost { namespace property_tree { + void process_codepoint(Sentinel end, EncodingErrorFn error_fn) { + encoding.transcode_codepoint(cur, end, + boost::bind(&Callbacks::on_code_unit, +- boost::ref(callbacks), _1), ++ boost::ref(callbacks), boost::placeholders::_1), + error_fn); + } + +@@ -517,7 +517,7 @@ namespace boost { namespace property_tree { + void feed(unsigned codepoint) { + encoding.feed_codepoint(codepoint, + boost::bind(&Callbacks::on_code_unit, +- boost::ref(callbacks), _1)); ++ boost::ref(callbacks), boost::placeholders::_1)); + } + + Callbacks& callbacks;