From owner-svn-ports-head@freebsd.org Wed Feb 1 05:26:10 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8766FCCD247; Wed, 1 Feb 2017 05:26:10 +0000 (UTC) (envelope-from jbeich@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 mx1.freebsd.org (Postfix) with ESMTPS id 56D45DCA; Wed, 1 Feb 2017 05:26:10 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v115Q9IY087219; Wed, 1 Feb 2017 05:26:09 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v115Q9NL087217; Wed, 1 Feb 2017 05:26:09 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201702010526.v115Q9NL087217@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 1 Feb 2017 05:26:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432973 - in head/games/frobtads: . files X-SVN-Group: ports-head 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.23 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: Wed, 01 Feb 2017 05:26:10 -0000 Author: jbeich Date: Wed Feb 1 05:26:09 2017 New Revision: 432973 URL: https://svnweb.freebsd.org/changeset/ports/432973 Log: games/frobtads: unbreak with clang 4.0 tads3/vmtz.cpp:1987:30: error: ordered comparison between pointer and zero ('vmtz_trans *' and 'int') result->set(tcur > 0 ? tcur - 1 : tcur); ~~~~ ^ ~ PR: 216357 Reported by: antoine (via exp-run) Submitted by: kaiwang27@gmail.com (maintainer) Added: head/games/frobtads/files/ head/games/frobtads/files/patch-tads3_vmtz.cpp (contents, props changed) Modified: head/games/frobtads/Makefile (contents, props changed) Modified: head/games/frobtads/Makefile ============================================================================== --- head/games/frobtads/Makefile Wed Feb 1 05:25:55 2017 (r432972) +++ head/games/frobtads/Makefile Wed Feb 1 05:26:09 2017 (r432973) @@ -3,6 +3,7 @@ PORTNAME= frobtads PORTVERSION= 1.2.3 +PORTREVISION= 1 CATEGORIES= games lang MASTER_SITES= http://www.tads.org/${PORTNAME}/ \ http://www.ifarchive.org/if-archive/programming/tads3/source/ Added: head/games/frobtads/files/patch-tads3_vmtz.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/frobtads/files/patch-tads3_vmtz.cpp Wed Feb 1 05:26:09 2017 (r432973) @@ -0,0 +1,11 @@ +--- tads3/vmtz.cpp.orig 2013-05-17 19:46:51 UTC ++++ tads3/vmtz.cpp +@@ -1984,7 +1984,7 @@ void CVmTimeZone::query(vmtzquery *resul + * the transition in terms of the local time that was in effect + * up until that moment + */ +- result->set(tcur > 0 ? tcur - 1 : tcur); ++ result->set(cur > 0 ? tcur - 1 : tcur); + return; + } + }