Date: Wed, 1 Mar 2017 14:50:03 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> 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 Message-ID: <201703011450.v21Eo3dF062610@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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 <algorithm> + #include <numeric> + #include <set> ++#include <cstdlib> + + 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703011450.v21Eo3dF062610>