summaryrefslogtreecommitdiffstats
path: root/games/pokerth/pokerth-1.1.1-boost-1.65-ambiguous-advance.patch
diff options
context:
space:
mode:
author Matteo Bernardini2019-02-23 07:59:47 +0100
committer Matteo Bernardini2019-02-23 07:59:47 +0100
commit1e0504fb667c2e46b7658648e95f6bec2232b005 (patch)
tree59f57dadb63234845f17b82010dc7c5fc11e1446 /games/pokerth/pokerth-1.1.1-boost-1.65-ambiguous-advance.patch
parent56fec0e2e3a00a31f6b83d66093db60a3bbb19f4 (diff)
downloadslackbuilds-7f4a955db596b97f021e5c41d2e9fbcdd5260195.tar.gz
20190223.1 global branch merge.current-20190223.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/pokerth/pokerth-1.1.1-boost-1.65-ambiguous-advance.patch')
-rw-r--r--games/pokerth/pokerth-1.1.1-boost-1.65-ambiguous-advance.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/pokerth/pokerth-1.1.1-boost-1.65-ambiguous-advance.patch b/games/pokerth/pokerth-1.1.1-boost-1.65-ambiguous-advance.patch
new file mode 100644
index 0000000000..2e8c9c50c5
--- /dev/null
+++ b/games/pokerth/pokerth-1.1.1-boost-1.65-ambiguous-advance.patch
@@ -0,0 +1,14 @@
+Boost 1.65 made 'advance()' ambiguous.
+Bug: https://bugs.gentoo.org/show_bug.cgi?id=629966
+
+--- a/src/gui/qt/gametable/gametableimpl.cpp
++++ b/src/gui/qt/gametable/gametableimpl.cpp
+@@ -3859,7 +3859,7 @@
+ int playerCount = static_cast<int>(seatList->size());
+ if (id < playerCount) {
+ PlayerListIterator pos = seatList->begin();
+- advance(pos, id);
++ std::advance(pos, id);
+ myStartWindow->getSession()->startVoteKickPlayer((*pos)->getMyUniqueID());
+ }
+ }