[Slackbuilds-users] PokerTH revisited in 14.2 and -current

Lenard Spencer lspencer31 at cfl.rr.com
Sun Sep 24 18:33:54 UTC 2017


Sounds good.  I searched for it but didn't find anything.

------ Original message------From: Matteo BernardiniDate: Sun, Sep 24, 2017 13:40To: SlackBuilds.org Users List;Cc: Subject:Re: [Slackbuilds-users] PokerTH revisited in 14.2 and -current
2017-09-24 19:05 GMT+02:00 Lenard Spencer :
> 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
> PokerTH-1.1.1-src.new/src/gui/qt/gametable/gametableimpl.cpp
> --- PokerTH-1.1.1-src.orig/src/gui/qt/gametable/gametableimpl.cpp 2014-01-10
> 16:18:20.788643125 -0500
> +++ PokerTH-1.1.1-src/src/gui/qt/gametable/gametableimpl.cpp 2017-09-24
> 12:20:07.042925701 -0400
> @@ -3859,7 +3859,7 @@
>      int playerCount = static_cast(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
SlackBuilds-users at slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170924/e4d1b78c/attachment-0001.html>


More information about the SlackBuilds-users mailing list