From owner-svn-ports-all@freebsd.org Wed Mar 1 14:50:04 2017 Return-Path: Delivered-To: svn-ports-all@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 A09C2CF0760; Wed, 1 Mar 2017 14:50:04 +0000 (UTC) (envelope-from amdmi3@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 7582C8CA; Wed, 1 Mar 2017 14:50:04 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v21Eo35S062614; Wed, 1 Mar 2017 14:50:03 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v21Eo3dF062610; Wed, 1 Mar 2017 14:50:03 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201703011450.v21Eo3dF062610@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 1 Mar 2017 14:50:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435157 - in head/games/endless-sky: . 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-all@freebsd.org X-Mailman-Version: 2.1.23 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: Wed, 01 Mar 2017 14:50:04 -0000 Author: amdmi3 Date: Wed Mar 1 14:50:03 2017 New Revision: 435157 URL: https://svnweb.freebsd.org/changeset/ports/435157 Log: - Update to 0.9.6 Added: head/games/endless-sky/files/patch-source_CollisionSet.cpp (contents, props changed) Modified: head/games/endless-sky/Makefile head/games/endless-sky/distinfo head/games/endless-sky/pkg-plist Modified: head/games/endless-sky/Makefile ============================================================================== --- head/games/endless-sky/Makefile Wed Mar 1 14:46:50 2017 (r435156) +++ head/games/endless-sky/Makefile Wed Mar 1 14:50:03 2017 (r435157) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= endless-sky -PORTVERSION= 0.9.4 +PORTVERSION= 0.9.6 DISTVERSIONPREFIX= v CATEGORIES= games @@ -13,7 +13,8 @@ LICENSE= GPLv3+ CC-BY-4.0 CC-BY-SA-3.0 C LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/license.txt -LIB_DEPENDS= libpng.so:graphics/png +LIB_DEPENDS= libpng.so:graphics/png \ + libmad.so:audio/libmad USE_GITHUB= yes @@ -30,5 +31,6 @@ post-build: post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + @${LN} -s ../icons/hicolor/32x32/apps/endless-sky.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .include Modified: head/games/endless-sky/distinfo ============================================================================== --- head/games/endless-sky/distinfo Wed Mar 1 14:46:50 2017 (r435156) +++ head/games/endless-sky/distinfo Wed Mar 1 14:50:03 2017 (r435157) @@ -1,3 +1,3 @@ -TIMESTAMP = 1476278581 -SHA256 (endless-sky-endless-sky-v0.9.4_GH0.tar.gz) = 8e25b9c387736d10034396940974cd442b8a7c6e9647a12c6d08fbeed9d32eeb -SIZE (endless-sky-endless-sky-v0.9.4_GH0.tar.gz) = 57953492 +TIMESTAMP = 1487772910 +SHA256 (endless-sky-endless-sky-v0.9.6_GH0.tar.gz) = 41699dabb72a276c96019d0714e54492866e29661f161052a1caf334332be1e4 +SIZE (endless-sky-endless-sky-v0.9.6_GH0.tar.gz) = 71119557 Added: head/games/endless-sky/files/patch-source_CollisionSet.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/endless-sky/files/patch-source_CollisionSet.cpp Wed Mar 1 14:50:03 2017 (r435157) @@ -0,0 +1,21 @@ +--- source/CollisionSet.cpp.orig 2017-01-18 02:04:49 UTC ++++ source/CollisionSet.cpp +@@ -22,6 +22,7 @@ PARTICULAR PURPOSE. See the GNU General + #include + #include + #include ++#include + + using namespace std; + +@@ -179,8 +180,8 @@ Body *CollisionSet::Line(const Projectil + int stepX = (x <= endX ? 1 : -1); + int stepY = (y <= endY ? 1 : -1); + // Calculate the slope of the line, shifted so it is positive in both axes. +- int mx = abs(endX - x); +- int my = abs(endY - y); ++ int mx = std::abs(endX - x); ++ int my = std::abs(endY - y); + // Behave as if each grid cell has this width and height. This guarantees + // that we only need to work with integer coordinates. + int scale = max(mx, 1) * max(my, 1); Modified: head/games/endless-sky/pkg-plist ============================================================================== --- head/games/endless-sky/pkg-plist Wed Mar 1 14:46:50 2017 (r435156) +++ head/games/endless-sky/pkg-plist Wed Mar 1 14:50:03 2017 (r435157) @@ -8,3 +8,4 @@ share/icons/hicolor/24x24/apps/endless-s share/icons/hicolor/256x256/apps/endless-sky.png share/icons/hicolor/32x32/apps/endless-sky.png share/icons/hicolor/48x48/apps/endless-sky.png +share/pixmaps/endless-sky.png