From owner-svn-ports-all@freebsd.org Tue Apr 3 00:49:26 2018 Return-Path: Delivered-To: svn-ports-all@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 A3E15F72142; Tue, 3 Apr 2018 00:49:26 +0000 (UTC) (envelope-from jbeich@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 562507BB29; Tue, 3 Apr 2018 00:49:26 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 36FB91D225; Tue, 3 Apr 2018 00:49:26 +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 w330nQNg061206; Tue, 3 Apr 2018 00:49:26 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w330nPJ7061176; Tue, 3 Apr 2018 00:49:25 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201804030049.w330nPJ7061176@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Tue, 3 Apr 2018 00:49:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466272 - in head/games/openbor: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head/games/openbor: . files X-SVN-Commit-Revision: 466272 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2018 00:49:26 -0000 Author: jbeich Date: Tue Apr 3 00:49:25 2018 New Revision: 466272 URL: https://svnweb.freebsd.org/changeset/ports/466272 Log: games/openbor: update to 4673 Changes: https://github.com/DCurrent/openbor/compare/57735a1...62edc19 Modified: head/games/openbor/Makefile (contents, props changed) head/games/openbor/distinfo (contents, props changed) head/games/openbor/files/patch-openbor.c (contents, props changed) Modified: head/games/openbor/Makefile ============================================================================== --- head/games/openbor/Makefile Tue Apr 3 00:49:05 2018 (r466271) +++ head/games/openbor/Makefile Tue Apr 3 00:49:25 2018 (r466272) @@ -2,7 +2,7 @@ PORTNAME= openbor # Hint: svn revision is git rev-list --count ${GH_TAGNAME} -PORTVERSION?= 4628 +PORTVERSION?= 4673 .ifndef PKGNAMESUFFIX PORTREVISION= 0 .endif @@ -31,7 +31,7 @@ PORTSCOUT= ignore:1 USE_GITHUB= yes GH_ACCOUNT= DCurrent -GH_TAGNAME?= 57735a1 +GH_TAGNAME?= 62edc19 USES+= gmake pkgconfig .if ${PORTVERSION} < 4433 Modified: head/games/openbor/distinfo ============================================================================== --- head/games/openbor/distinfo Tue Apr 3 00:49:05 2018 (r466271) +++ head/games/openbor/distinfo Tue Apr 3 00:49:25 2018 (r466272) @@ -1,3 +1,3 @@ -TIMESTAMP = 1522051052 -SHA256 (DCurrent-openbor-4628-57735a1_GH0.tar.gz) = e69dd27919b2d2a1870a843e7ebddf990a30f7130ba57c794780bb5a8f808178 -SIZE (DCurrent-openbor-4628-57735a1_GH0.tar.gz) = 108091683 +TIMESTAMP = 1522705890 +SHA256 (DCurrent-openbor-4673-62edc19_GH0.tar.gz) = 2284ce64c4088ba3af12fd0c53d8ce1dcec163ca89f283718fd2a64be6b7935b +SIZE (DCurrent-openbor-4673-62edc19_GH0.tar.gz) = 108231851 Modified: head/games/openbor/files/patch-openbor.c ============================================================================== --- head/games/openbor/files/patch-openbor.c Tue Apr 3 00:49:05 2018 (r466271) +++ head/games/openbor/files/patch-openbor.c Tue Apr 3 00:49:25 2018 (r466272) @@ -1,6 +1,5 @@ Fix potential crashes found by ASan/Clang/GCC Fix an infinite loop in lcmScriptDeleteMain() -Avoid accidental rounding from abs() --- openbor.c.orig 2017-04-22 14:20:08 UTC +++ openbor.c @@ -64,23 +63,3 @@ Avoid accidental rounding from abs() if (value > maxvalue) { value = maxvalue; -@@ -21710,8 +21716,8 @@ int reset_backpain(entity *ent) - if (ent->normaldamageflipdir == DIRECTION_RIGHT) ent->direction = DIRECTION_RIGHT; - else ent->direction = DIRECTION_LEFT; - -- if(ent->direction == DIRECTION_RIGHT) ent->velocity.x = -1*abs(ent->velocity.x); -- else ent->velocity.x = abs(ent->velocity.x); -+ if(ent->direction == DIRECTION_RIGHT) ent->velocity.x = -1*ABS(ent->velocity.x); -+ else ent->velocity.x = ABS(ent->velocity.x); - - return 1; - } -@@ -25831,7 +25837,7 @@ int common_try_wander(entity *target, in - mod = -mod; - } - //if ((self->sortid / 100) % 2) -- if (abs(rand32()) % 2) -+ if (rand32() % 2) - { - mod = 3 - mod; - }