From owner-svn-ports-head@freebsd.org Sun Feb 25 23:43:35 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 833A3F335E5; Sun, 25 Feb 2018 23:43:35 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 31782771B6; Sun, 25 Feb 2018 23:43:35 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1393013BA6; Sun, 25 Feb 2018 23:43:35 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1PNhYWa017366; Sun, 25 Feb 2018 23:43:34 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1PNhYe6017364; Sun, 25 Feb 2018 23:43:34 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201802252343.w1PNhYe6017364@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 25 Feb 2018 23:43:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462985 - in head/math/gambit: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math/gambit: . files X-SVN-Commit-Revision: 462985 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2018 23:43:35 -0000 Author: yuri Date: Sun Feb 25 23:43:34 2018 New Revision: 462985 URL: https://svnweb.freebsd.org/changeset/ports/462985 Log: math/gambit: Unbroke the port. Port changes: * Added the patch to avoid permissions problem. Reported it upstream: https://github.com/gambitproject/gambit/issues/229 * Took maintainership. * Removed USE_LDCONFIG (not needed). Approved by: tcberner (mentor, implicit) Added: head/math/gambit/files/patch-src_tools_logit_logbehav.imp (contents, props changed) Modified: head/math/gambit/Makefile Modified: head/math/gambit/Makefile ============================================================================== --- head/math/gambit/Makefile Sun Feb 25 23:19:09 2018 (r462984) +++ head/math/gambit/Makefile Sun Feb 25 23:43:34 2018 (r462985) @@ -7,22 +7,18 @@ PORTREVISION= 2 CATEGORIES= math MASTER_SITES= SF/${PORTNAME}/${PORTNAME}${PORTVERSION:R:R}/${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= yuri@FreeBSD.org COMMENT= Library of tools for doing computation in game theory LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_armv6= fails to compile: 'm_number' is a private member of 'Gambit::GamePlayerRep' -BROKEN_armv7= fails to compile: 'm_number' is a private member of 'Gambit::GamePlayerRep' - USES= compiler:c++11-lib +GNU_CONFIGURE= yes USE_GNOME= gtk20 USE_WX= 3.0 USE_CXXSTD= c++11 WX_CONF_ARGS= absolute -GNU_CONFIGURE= yes -USE_LDCONFIG= yes post-install: ${INSTALL_DATA} ${WRKSRC}/gambit.desktop \ Added: head/math/gambit/files/patch-src_tools_logit_logbehav.imp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/gambit/files/patch-src_tools_logit_logbehav.imp Sun Feb 25 23:43:34 2018 (r462985) @@ -0,0 +1,11 @@ +--- src/tools/logit/logbehav.imp.orig 2018-02-25 23:16:35 UTC ++++ src/tools/logit/logbehav.imp +@@ -269,7 +269,7 @@ void LogBehavProfile::GetPayoff(GameT + } + + if (node->children.Length()) { +- int pl = node->infoset->m_player->m_number, iset = node->infoset->m_number; ++ int pl = node->infoset->m_player->GetNumber(), iset = node->infoset->GetNumber(); // fixes the build problem, see https://github.com/gambitproject/gambit/issues/229 + if (pl == 0) { + // chance player + for (int act = 1; act <= node->NumChildren(); act++) {