<html><head>






</head>
<body style="margin-bottom:45px">
    <div style="font-size: 10pt;"><div dir="auto">Sounds good.  I searched for it but didn't find anything.</div><div dir="auto"><br></div></div><div style="font-size: 10pt;"><div id="LGEmailHeader" dir="auto"><div dir="auto"><br></div><div dir="auto">------ Original message------</div><div dir="auto"><b>From: </b>Matteo Bernardini<matteo.bernardini@gmail.com></matteo.bernardini@gmail.com></div><div dir="auto"><b>Date: </b>Sun, Sep 24, 2017 13:40</div><div dir="auto"><b>To: </b><a href="http://SlackBuilds.org">SlackBuilds.org</a> Users List;</div><div dir="auto"><b>Cc: </b></div><div dir="auto"><b>Subject:</b>Re: [Slackbuilds-users] PokerTH revisited in 14.2 and -current</div><div dir="auto"><br></div></div><pre><a href="tel:2017-09-24 19">2017-09-24 19</a>:05 GMT+02:00 Lenard Spencer <lspencer31@cfl.rr.com>:
> With all the new goodies added and upgraded in -current, I had to go back
> and rebuild a few things.  Things were going good until I got to PokerTH,
> when it bombed out on an ambiguous 'advance()' call into the boost library,
> much like the earlier 'ifstream()' and 'ofstream()' calls did.  The
> advance() call is only made once, so here is a simple patch to fix that:
>
> diff -Naur PokerTH-1.1.1-src/src/gui/qt/gametable/gametableimpl.cpp
> <a href="http://PokerTH-1.1.1-src.ne">PokerTH-1.1.1-src.ne</a>w/src/gui/qt/gametable/gametableimpl.cpp
> --- PokerTH-1.1.1-src.orig/src/gui/qt/gametable/gametableimpl.cpp <a href="tel:2014-01-10">2014-01-10</a>
> 16:18:<a href="tel:20.788643125 -0500">20.788643125 -0500</a>
> +++ PokerTH-1.1.1-src/src/gui/qt/gametable/gametableimpl.cpp <a href="tel:2017-09-24">2017-09-24</a>
> 12:20:<a href="tel:07.042925701 -0400">07.042925701 -0400</a>
> @@ -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());
>      }
>  }
>
> I have tested it for quite a while, and so far I have found no problems with
> it.  Even invoking pokerth from a terminal window doesn't produce any
> squawks.

hi Lenard,

I was about to submit the exact same fix on the unofficial repository
for current: I took the patch from Gentoo and tested it too.

Matteo
_______________________________________________
SlackBuilds-users mailing list<a href="mailto: SlackBuilds-users@slackbuilds.org">
SlackBuilds-users@slackbuilds.org</a>
<a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a>
FAQ - <a href="https://slackbuilds.org/faq/">https://slackbuilds.org/faq/</a>

</int></lspencer31@cfl.rr.com></pre></div>


</body></html>