From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/, sys-cluster/hpx/files/
Date: Wed, 24 Jun 2020 14:29:54 +0000 (UTC) [thread overview]
Message-ID: <1593008959.3d00f3c5d1dc74f0ac5eeed23060315db2ef1c86.juippis@gentoo> (raw)
commit: 3d00f3c5d1dc74f0ac5eeed23060315db2ef1c86
Author: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de>
AuthorDate: Thu May 28 17:38:51 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> 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 <kurt <AT> kmk-computers.de>
Closes: https://github.com/gentoo/gentoo/pull/15993
Signed-off-by: Joonas Niilola <juippis <AT> 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 <hartmut.kaiser@gmail.com>
+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 <kurt@kmk-computers.de>
+---
+ 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<std::int64_t(bool)> 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<std::int64_t()> const& f, naming::gid_type& id,
+ error_code& ec)
+ {
+- using util::placeholders::_1;
+ hpx::util::function_nonser<std::int64_t(bool)> 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<std::vector<std::int64_t>()> const& f,
+ naming::gid_type& id, error_code& ec)
+ {
+- using util::placeholders::_1;
+ hpx::util::function_nonser<std::vector<std::int64_t>(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<hpx::id_type> addressing_service::on_symbol_namespace_event(
+ hpx::future<bool> 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<hpx::lcos::local::spinlock> lk(FuturesMutex);
+ #endif
+- using hpx::util::placeholders::_1;
+ std::size_t buffer_address =
+ reinterpret_cast<std::size_t>(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"
)
next reply other threads:[~2020-06-24 14:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-24 14:29 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-20 6:28 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/hpx/, sys-cluster/hpx/files/ Sam James
2023-02-27 11:22 Florian Schmaus
2022-08-14 20:07 Florian Schmaus
2022-08-14 16:06 Florian Schmaus
2022-07-09 4:56 Sam James
2022-06-03 8:35 Florian Schmaus
2021-08-24 8:50 Joonas Niilola
2021-07-23 14:33 Joonas Niilola
2018-06-25 4:44 Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1593008959.3d00f3c5d1dc74f0ac5eeed23060315db2ef1c86.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox