Index: head/games/endless-sky/Makefile =================================================================== --- head/games/endless-sky/Makefile (revision 448467) +++ head/games/endless-sky/Makefile (revision 448468) @@ -1,39 +1,38 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= endless-sky -PORTVERSION= 0.9.6 -PORTREVISION= 2 +PORTVERSION= 0.9.8 DISTVERSIONPREFIX= v CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Space exploration and combat game similar to Escape Velocity LICENSE= GPLv3+ CC-BY-4.0 CC-BY-SA-3.0 CC-BY-SA-4.0 PD LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/license.txt LIB_DEPENDS= libpng.so:graphics/png \ libmad.so:audio/libmad BROKEN_powerpc64= fails to compile: Dialog.h: 'to_string' is not a member of 'std' USE_GITHUB= yes USES= compiler:c++11-lib jpeg localbase:ldflags openal scons USE_SDL= sdl2 USE_GL= gl glew INSTALLS_ICONS= yes PORTDATA= * post-build: @${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}/|; s|share/games|share|' \ ${WRKSRC}/source/Files.cpp post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${LN} -s ../icons/hicolor/32x32/apps/endless-sky.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .include Index: head/games/endless-sky/distinfo =================================================================== --- head/games/endless-sky/distinfo (revision 448467) +++ head/games/endless-sky/distinfo (revision 448468) @@ -1,3 +1,3 @@ -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 +TIMESTAMP = 1503228209 +SHA256 (endless-sky-endless-sky-v0.9.8_GH0.tar.gz) = 69078c67656709646deb0c46fd960aa905601c23bb47c1696b0962ae8dff6d1e +SIZE (endless-sky-endless-sky-v0.9.8_GH0.tar.gz) = 74476053 Index: head/games/endless-sky/files/patch-source_CollisionSet.cpp =================================================================== --- head/games/endless-sky/files/patch-source_CollisionSet.cpp (revision 448467) +++ head/games/endless-sky/files/patch-source_CollisionSet.cpp (revision 448468) @@ -1,21 +1,10 @@ --- 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);