summaryrefslogtreecommitdiff
path: root/games-board/pokerth
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/pokerth')
-rw-r--r--games-board/pokerth/Manifest3
-rw-r--r--games-board/pokerth/files/pokerth-1.1.2-boost-1.73.patch42
-rw-r--r--games-board/pokerth/pokerth-1.1.2.ebuild3
3 files changed, 46 insertions, 2 deletions
diff --git a/games-board/pokerth/Manifest b/games-board/pokerth/Manifest
index cb44070afca2..bac9830f783c 100644
--- a/games-board/pokerth/Manifest
+++ b/games-board/pokerth/Manifest
@@ -1,8 +1,9 @@
AUX pokerth-1.1.1-boost-1.65-ambiguous-advance.patch 465 BLAKE2B 4b7cb201233754ce5bc57338e7bcc8c03baebf3c021a34f01cfe221fba9062b6d2a51a5ee4c5644f0535de7a7bdccb27b6ae488a94fbcbcc2863b763a3b5103a SHA512 af91b98c04f844504c46b01c76a360d00bfe3993d6acdbc9800f2466833da42ad5e76a0ca3e197cb63aca10e4cb1eae73996b67691587eae2f2ee3975a33410e
AUX pokerth-1.1.2-boost-1.66.patch 1655 BLAKE2B 392d570f3d5f204f148f9d3544e339e47d268beb71d334f98448efed01b3dc12ecb62fc2d3dbfc727b28f4611e97e3dcbb9dac366a5b4168a5c4dffb6ba41f13 SHA512 1e7c2fe643f577f88b6aad3825f514fb6b6165c6e02fed29778d1e3483ffb9a29074d0504197ab16e822b375cb0ad923ab58a5742623ced1a5d706ce91733cfe
+AUX pokerth-1.1.2-boost-1.73.patch 2281 BLAKE2B 590eba328d373a9a539bf1d433ec4a0794a2489cc6562f5e301cd12916ba92422dfe7f9766db8cc13ccb6c2f81ec0f25325824957e37001e8f2f755767a48b5d SHA512 b68e116123edef753346c537112366cf2c35c06547ea828f3ab65294acabf3a85e8bdfffb305c1e8a142560a60b313014842e7f039a4c51bc5f5ee54ec81943c
AUX pokerth-1.1.2-fix-includes.patch 3415 BLAKE2B 376286a1d125493804f894498d1f1ed4177b9abe4b1c5e3143a0d5d4da162fbe4f5e165c7abe38d58c374ab32e33baaf23df10f06ccb4c0fccc702a438c494d8 SHA512 fa3d67530ee52a00e63d73953f242b9201561b96b8ae73f26b27f3d54400719be65739e43377c5b2ae806d215fa9b5ba099838435948413e7581728d8ae9bef4
AUX pokerth-1.1.2-protobuf.patch 603 BLAKE2B 258ab192bf8c27266bc96103adfd52c0da9d719f07da674d31411f3248106fe919be741ab2829a250dba34e6eeaf023f9fbd6517581418c7f77b080ad47e34ab SHA512 ddb0ec7f60a0e494822e9c7abe9c9658c5df3b27e6be99624c5c959f0cc8db58ad13fb00ea947cfd3e81e48278ff27af8d09fec5e5c3acf31fe78ce70db89e1b
AUX pokerth-1.1.2-system-websockets.patch 470 BLAKE2B ebf6e3f78917aac19c4bbae4b0ed34bde7613b9259aae5bd74fb6e2c820ff5f865265731e61e79b1a3d89a936ac8ebd4eb7f67a775389a956670e4a444cd263b SHA512 ad93bf9718375c0f04ee6a6a679d788ef404c02f980b0498e483363a9f96b6992951b0c9ac3710ce415f6dd985f1b25170842a7928d3552aba4c1a4fe45a7ed8
DIST pokerth-1.1.2.tar.gz 21354306 BLAKE2B d8e1ecc46e61d9c16ae3949099f6e72271a5ab2def9799652b0c612980e0c5e96cb2ccf4d659c1a90b9ac6433af95587fa5d44af80c16fb6a34a272751c9fc4a SHA512 d54c84f199636eb5a53580213e5e4ccc828cf565bf4b055797daa82e2ad54d8c52c7a16a781b82c8cc89d184a2b3c4105922394d08c7d2e06383b96963c36b5a
-EBUILD pokerth-1.1.2.ebuild 1688 BLAKE2B 915bf164b1022fbd3862b9fd0be7d34507c720d5332f22758459abcc922ad0468f6240515b9ac4d277f2be3f5e839dc2a68296fd45c94bd2c011a43b91f607c7 SHA512 13bdebfddf8f2f0b851f49eb90383f82ac534d6ee0f00c67e266bda04ef621c7a03d18f7ed2fa5ea7b6c8e86c3fdba88f9acb56e45e27878bf14cc0e6ff554df
+EBUILD pokerth-1.1.2.ebuild 1732 BLAKE2B ce9f1641812a355def27b556a0b450c2e33404c0023778c2dbcccfe2a9335012ac5e2cc838480d34baf8e1fcde9dadd3cb69c58a43ddaa16b4e03ae58488d638 SHA512 9053f335b61a47ea1648bd32bfd53abe9bb9c076d8aedff12c962b940e0a9cbe89b2430f3c42c345ce071d0d9b4411b445e899422212ef5d465daae086739753
MISC metadata.xml 340 BLAKE2B e271d172e85302ebcaf0ad3f355035e16056764ae73b01faf494659f0b82c9b0060448e518732e56b13c25ad676156124b11b28ebfdff4697eddc4524ddaf278 SHA512 640db7890ea68059399c50c0ab24c337e0a4cd1c977c2b87198ee9af25e39547fadd3fd83f081da6afa62ae9a9ae2fa450b45a83519d66b036e357ecc3e9b705
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 000000000000..9733ffa2f8e8
--- /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 <steils@gentoo.org>
+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 <steils@gentoo.org>
+---
+ 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 <boost/bind/bind.hpp>
+ #include <net/serveracceptwebhelper.h>
+ #include <net/sessiondata.h>
+ #include <net/webreceivebuffer.h>
+@@ -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 08afd16fde19..4414a4a4561c 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() {