Index: head/games/endless-sky/Makefile =================================================================== --- head/games/endless-sky/Makefile (revision 435156) +++ head/games/endless-sky/Makefile (revision 435157) @@ -1,34 +1,36 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= endless-sky -PORTVERSION= 0.9.4 +PORTVERSION= 0.9.6 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 +LIB_DEPENDS= libpng.so:graphics/png \ + libmad.so:audio/libmad 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 435156) +++ head/games/endless-sky/distinfo (revision 435157) @@ -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 Index: head/games/endless-sky/files/patch-source_CollisionSet.cpp =================================================================== --- head/games/endless-sky/files/patch-source_CollisionSet.cpp (nonexistent) +++ head/games/endless-sky/files/patch-source_CollisionSet.cpp (revision 435157) @@ -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); Property changes on: head/games/endless-sky/files/patch-source_CollisionSet.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/endless-sky/pkg-plist =================================================================== --- head/games/endless-sky/pkg-plist (revision 435156) +++ head/games/endless-sky/pkg-plist (revision 435157) @@ -1,10 +1,11 @@ bin/endless-sky man/man6/endless-sky.6.gz share/appdata/endless-sky.appdata.xml share/applications/endless-sky.desktop share/icons/hicolor/16x16/apps/endless-sky.png share/icons/hicolor/22x22/apps/endless-sky.png share/icons/hicolor/24x24/apps/endless-sky.png 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