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 619AB1382C5 for ; Wed, 24 Jun 2020 14:30:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CAE2AE091B; Wed, 24 Jun 2020 14:30:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 A43DDE091B for ; Wed, 24 Jun 2020 14:30:00 +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 6696334F1F7 for ; Wed, 24 Jun 2020 14:29:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CDED72B3 for ; Wed, 24 Jun 2020 14:29:54 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1593008959.3d00f3c5d1dc74f0ac5eeed23060315db2ef1c86.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/, sys-cluster/hpx/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/hpx/files/hpx-1.4.1-placeholder.patch sys-cluster/hpx/hpx-1.4.1.ebuild X-VCS-Directories: sys-cluster/hpx/files/ sys-cluster/hpx/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 3d00f3c5d1dc74f0ac5eeed23060315db2ef1c86 X-VCS-Branch: master Date: Wed, 24 Jun 2020 14:29:54 +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: be28a95d-b46a-47d8-adc7-8e598aea7fdb X-Archives-Hash: f1256d90b6b819f72bcd9857374ec913 commit: 3d00f3c5d1dc74f0ac5eeed23060315db2ef1c86 Author: Kurt Kanzenbach kmk-computers de> AuthorDate: Thu May 28 17:38:51 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Jun 24 14:29:19 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d00f3c5 sys-cluster/hpx: Fix compilation against boost-1.73 This has been fixed upstream already. Adding the patch. Closes: https://bugs.gentoo.org/725774 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Kurt Kanzenbach kmk-computers.de> Closes: https://github.com/gentoo/gentoo/pull/15993 Signed-off-by: Joonas Niilola gentoo.org> sys-cluster/hpx/files/hpx-1.4.1-placeholder.patch | 79 +++++++++++++++++++++++ sys-cluster/hpx/hpx-1.4.1.ebuild | 1 + 2 files changed, 80 insertions(+) diff --git a/sys-cluster/hpx/files/hpx-1.4.1-placeholder.patch b/sys-cluster/hpx/files/hpx-1.4.1-placeholder.patch new file mode 100644 index 00000000000..94271e6c0ec --- /dev/null +++ b/sys-cluster/hpx/files/hpx-1.4.1-placeholder.patch @@ -0,0 +1,79 @@ +From 6bdbb6a3ad6ea57c46e9998e9efd46f86f5d5729 Mon Sep 17 00:00:00 2001 +From: Hartmut Kaiser +Date: Tue, 28 Apr 2020 09:52:08 -0500 +Subject: [PATCH] Adding missing using placeholder::_X + +- flyby remove unneeded using statements + +(cherry picked from commit 1a6882195f9dc8d333ad12898fb88e3ca2931022) +Signed-off-by: Kurt Kanzenbach +--- + src/performance_counters/registry.cpp | 3 --- + src/runtime/agas/addressing_service.cpp | 3 ++- + tests/performance/network/network_storage/network_storage.cpp | 1 - + 3 files changed, 2 insertions(+), 5 deletions(-) + +diff --git a/src/performance_counters/registry.cpp b/src/performance_counters/registry.cpp +index 34c8d0e71d55..8da91f379a72 100644 +--- a/src/performance_counters/registry.cpp ++++ b/src/performance_counters/registry.cpp +@@ -378,7 +378,6 @@ namespace hpx { namespace performance_counters + counter_status registry::create_raw_counter_value(counter_info const& info, + std::int64_t* countervalue, naming::gid_type& id, error_code& ec) + { +- using util::placeholders::_1; + hpx::util::function_nonser func( + util::bind_front(wrap_counter, countervalue)); + return create_raw_counter(info, func, id, ec); +@@ -401,7 +400,6 @@ namespace hpx { namespace performance_counters + hpx::util::function_nonser const& f, naming::gid_type& id, + error_code& ec) + { +- using util::placeholders::_1; + hpx::util::function_nonser func( + util::bind_front(&wrap_raw_counter, f)); + return create_raw_counter(info, func, id, ec); +@@ -465,7 +463,6 @@ namespace hpx { namespace performance_counters + hpx::util::function_nonser()> const& f, + naming::gid_type& id, error_code& ec) + { +- using util::placeholders::_1; + hpx::util::function_nonser(bool)> func( + util::bind_front(&wrap_raw_values_counter, f)); + return create_raw_counter(info, func, id, ec); +diff --git a/src/runtime/agas/addressing_service.cpp b/src/runtime/agas/addressing_service.cpp +index f30760c0e05e..b416a28d12d8 100644 +--- a/src/runtime/agas/addressing_service.cpp ++++ b/src/runtime/agas/addressing_service.cpp +@@ -1864,7 +1864,6 @@ future addressing_service::on_symbol_namespace_event( + hpx::future f = + symbol_ns_.on_event(name, call_for_past_events, p.get_id()); + +- using util::placeholders::_1; + return f.then( + hpx::launch::sync, + util::one_shot(util::bind_back( +@@ -2356,6 +2355,8 @@ void addressing_service::register_counter_types() + util::bind_front( + &addressing_service::get_cache_erase_entry_time, this)); + ++ using util::placeholders::_1; ++ using util::placeholders::_2; + performance_counters::generic_counter_type_data const counter_types[] = + { + { "/agas/count/cache/entries", performance_counters::counter_raw, +diff --git a/tests/performance/network/network_storage/network_storage.cpp b/tests/performance/network/network_storage/network_storage.cpp +index 33fc1a66afa4..dfcffbafb180 100644 +--- a/tests/performance/network/network_storage/network_storage.cpp ++++ b/tests/performance/network/network_storage/network_storage.cpp +@@ -802,7 +802,6 @@ void test_read( + ++FuturesWaiting[send_rank]; + std::lock_guard lk(FuturesMutex); + #endif +- using hpx::util::placeholders::_1; + std::size_t buffer_address = + reinterpret_cast(general_buffer.data()); + // +-- +2.26.2 + diff --git a/sys-cluster/hpx/hpx-1.4.1.ebuild b/sys-cluster/hpx/hpx-1.4.1.ebuild index 9a3dc2abc76..964325329bb 100644 --- a/sys-cluster/hpx/hpx-1.4.1.ebuild +++ b/sys-cluster/hpx/hpx-1.4.1.ebuild @@ -55,6 +55,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}/${P}-boost.patch" "${FILESDIR}/${P}-disable-failing-tests.patch" + "${FILESDIR}/${P}-placeholder.patch" "${FILESDIR}/${P}-python.patch" )