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 8792F1382C5 for ; Mon, 18 May 2020 01:35:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C72EE088B; Mon, 18 May 2020 01:35:33 +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 58A85E088B for ; Mon, 18 May 2020 01:35:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 A1BC534FB18 for ; Mon, 18 May 2020 01:35:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 073111F5 for ; Mon, 18 May 2020 01:35:30 +0000 (UTC) From: "Stefan Strogin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Stefan Strogin" Message-ID: <1589765607.37c8f41312b0ad6f990df3b17eba2b06aabc38e9.steils@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/pokerth/files/, games-board/pokerth/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-board/pokerth/files/pokerth-1.1.2-boost-1.73.patch games-board/pokerth/pokerth-1.1.2.ebuild X-VCS-Directories: games-board/pokerth/ games-board/pokerth/files/ X-VCS-Committer: steils X-VCS-Committer-Name: Stefan Strogin X-VCS-Revision: 37c8f41312b0ad6f990df3b17eba2b06aabc38e9 X-VCS-Branch: master Date: Mon, 18 May 2020 01:35:30 +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: ec222638-1989-4eb5-9420-093e1c271b3b X-Archives-Hash: c8a7265adee02ebb9d8814e2a4f4f1a3 commit: 37c8f41312b0ad6f990df3b17eba2b06aabc38e9 Author: Stefan Strogin gentoo org> AuthorDate: Mon May 18 01:30:28 2020 +0000 Commit: Stefan Strogin gentoo org> CommitDate: Mon May 18 01:33:27 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37c8f413 games-board/pokerth: add patch for boost-1.73 Closes: https://bugs.gentoo.org/723520 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Stefan Strogin gentoo.org> .../pokerth/files/pokerth-1.1.2-boost-1.73.patch | 42 ++++++++++++++++++++++ games-board/pokerth/pokerth-1.1.2.ebuild | 3 +- 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/games-board/pokerth/files/pokerth-1.1.2-boost-1.73.patch b/games-board/pokerth/files/pokerth-1.1.2-boost-1.73.patch new file mode 100644 index 00000000000..9733ffa2f8e --- /dev/null +++ b/games-board/pokerth/files/pokerth-1.1.2-boost-1.73.patch @@ -0,0 +1,42 @@ +From a769887330a317d55e7f64c71a32ad130ffb9307 Mon Sep 17 00:00:00 2001 +From: Stefan Strogin +Date: Mon, 18 May 2020 03:30:53 +0300 +Subject: [PATCH] Fix using boost placeholders (#395) + +Bug: https://bugs.gentoo.org/723520 +Upstream-Status: Submitted [https://github.com/pokerth/pokerth/pull/396] +Signed-off-by: Stefan Strogin +--- + src/net/common/serveracceptwebhelper.cpp | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +diff --git a/src/net/common/serveracceptwebhelper.cpp b/src/net/common/serveracceptwebhelper.cpp +index f61d4d77..8701e1e9 100644 +--- a/src/net/common/serveracceptwebhelper.cpp ++++ b/src/net/common/serveracceptwebhelper.cpp +@@ -29,6 +29,7 @@ + * as that of the covered work. * + *****************************************************************************/ + ++#include + #include + #include + #include +@@ -58,10 +59,10 @@ ServerAcceptWebHelper::Listen(unsigned serverPort, bool /*ipv6*/, const std::str + + m_webSocketServer->init_asio(m_ioService.get()); + +- m_webSocketServer->set_validate_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::validate), this, _1)); +- m_webSocketServer->set_open_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::on_open), this, _1)); +- m_webSocketServer->set_close_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::on_close), this, _1)); +- m_webSocketServer->set_message_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::on_message), this, _1, _2)); ++ m_webSocketServer->set_validate_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::validate), this, boost::placeholders::_1)); ++ m_webSocketServer->set_open_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::on_open), this, boost::placeholders::_1)); ++ m_webSocketServer->set_close_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::on_close), this, boost::placeholders::_1)); ++ m_webSocketServer->set_message_handler(boost::bind(boost::mem_fn(&ServerAcceptWebHelper::on_message), this, boost::placeholders::_1, boost::placeholders::_2)); + + m_webSocketServer->listen(serverPort); + m_webSocketServer->start_accept(); +-- +2.26.2 + diff --git a/games-board/pokerth/pokerth-1.1.2.ebuild b/games-board/pokerth/pokerth-1.1.2.ebuild index 08afd16fde1..4414a4a4561 100644 --- a/games-board/pokerth/pokerth-1.1.2.ebuild +++ b/games-board/pokerth/pokerth-1.1.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -44,6 +44,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.1.2-fix-includes.patch # unbundle dev-cpp/websocketpp "${FILESDIR}"/${PN}-1.1.2-system-websockets.patch + "${FILESDIR}"/${PN}-1.1.2-boost-1.73.patch ) src_prepare() {