Date: Tue, 3 Apr 2018 00:49:25 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466272 - in head/games/openbor: . files Message-ID: <201804030049.w330nPJ7061176@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; - }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804030049.w330nPJ7061176>