From owner-svn-ports-all@freebsd.org Fri Apr 13 23:26:04 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 B2D2DF8B585; Fri, 13 Apr 2018 23:26:04 +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 6517C85338; Fri, 13 Apr 2018 23:26:04 +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 5C0DA20542; Fri, 13 Apr 2018 23:26:04 +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 w3DNQ4p8044090; Fri, 13 Apr 2018 23:26:04 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3DNQ3cc044087; Fri, 13 Apr 2018 23:26:03 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201804132326.w3DNQ3cc044087@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Fri, 13 Apr 2018 23:26:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r467278 - in branches/2018Q2/games/openbor: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in branches/2018Q2/games/openbor: . files X-SVN-Commit-Revision: 467278 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: Fri, 13 Apr 2018 23:26:04 -0000 Author: jbeich Date: Fri Apr 13 23:26:03 2018 New Revision: 467278 URL: https://svnweb.freebsd.org/changeset/ports/467278 Log: MFH: r466272 r467277 games/openbor: update to 4942 Changes: https://github.com/DCurrent/openbor/compare/57735a1...449e528 Approved by: ports-secteam (feld, implicit for snapshots) Modified: branches/2018Q2/games/openbor/Makefile branches/2018Q2/games/openbor/distinfo branches/2018Q2/games/openbor/files/patch-openbor.c Directory Properties: branches/2018Q2/ (props changed) Modified: branches/2018Q2/games/openbor/Makefile ============================================================================== --- branches/2018Q2/games/openbor/Makefile Fri Apr 13 23:19:48 2018 (r467277) +++ branches/2018Q2/games/openbor/Makefile Fri Apr 13 23:26:03 2018 (r467278) @@ -2,7 +2,7 @@ PORTNAME= openbor # Hint: svn revision is git rev-list --count ${GH_TAGNAME} -PORTVERSION?= 4628 +PORTVERSION?= 4942 .ifndef PKGNAMESUFFIX PORTREVISION= 0 .endif @@ -31,7 +31,7 @@ PORTSCOUT= ignore:1 USE_GITHUB= yes GH_ACCOUNT= DCurrent -GH_TAGNAME?= 57735a1 +GH_TAGNAME?= 449e528 USES+= gmake pkgconfig .if ${PORTVERSION} < 4433 Modified: branches/2018Q2/games/openbor/distinfo ============================================================================== --- branches/2018Q2/games/openbor/distinfo Fri Apr 13 23:19:48 2018 (r467277) +++ branches/2018Q2/games/openbor/distinfo Fri Apr 13 23:26:03 2018 (r467278) @@ -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 = 1523558034 +SHA256 (DCurrent-openbor-4942-449e528_GH0.tar.gz) = 9df2913c18349c78d7e5c57b9f276cd21e40ddd50c5b667f460c0dd19056b3ad +SIZE (DCurrent-openbor-4942-449e528_GH0.tar.gz) = 108236606 Modified: branches/2018Q2/games/openbor/files/patch-openbor.c ============================================================================== --- branches/2018Q2/games/openbor/files/patch-openbor.c Fri Apr 13 23:19:48 2018 (r467277) +++ branches/2018Q2/games/openbor/files/patch-openbor.c Fri Apr 13 23:26:03 2018 (r467278) @@ -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; - }