diff --git a/games/pioneer/Makefile b/games/pioneer/Makefile index 74aa656a451b..48afab023084 100644 --- a/games/pioneer/Makefile +++ b/games/pioneer/Makefile @@ -1,69 +1,67 @@ PORTNAME= pioneer -DISTVERSION= 20240314 +DISTVERSION= 20240710 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Space adventure game set in the Milky Way galaxy WWW= https://pioneerspacesim.net/ LICENSE= APACHE20 BSD2CLAUSE CC-BY-SA-3.0 DejaVu GPLv3 IUP \ MIT SIL ZLIB LICENSE_COMB= multi LICENSE_NAME_DejaVu= Bitstream Vera and Arev fonts license LICENSE_NAME_IUP= Galaxy colour image use policy LICENSE_NAME_SIL= SIL open font license version 1.1 LICENSE_FILE_APACHE20= ${WRKSRC}/licenses/Apache-2.0.txt LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/licenses/LZ4.txt LICENSE_FILE_CC-BY-SA-3.0= ${WRKSRC}/licenses/CC-BY-SA-3.0.txt LICENSE_FILE_DejaVu= ${WRKSRC}/licenses/DejaVu-license.txt LICENSE_FILE_GPLv3= ${WRKSRC}/licenses/GPL-3.txt LICENSE_FILE_IUP= ${WRKSRC}/licenses/Image\ Use\ Policy\ -\ NASA\ Spitzer\ Space\ Telescope.html LICENSE_FILE_SIL= ${WRKSRC}/licenses/SIL-1.1.txt LICENSE_PERMS_DejaVu= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_IUP= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_PERMS_SIL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -BROKEN_FreeBSD_13= fails to build # XXX: if you have similar error, try adding failing arch to USE_CHRONO condition in contrib/profiler/Profiler.h BROKEN_xxx= fails to build: contrib/profiler/Profiler.h:158:51: inconsistent operand constraints in an 'asm' LIB_DEPENDS= libassimp.so:multimedia/assimp \ libfreetype.so:print/freetype2 \ libsigc-2.0.so:devel/libsigc++20 \ libvorbisfile.so:audio/libvorbis USES= cmake compiler:c++17-lang gl gnome lua:52 pkgconfig sdl USE_GITHUB= yes USE_GL= gl glu glew USE_SDL= image2 sdl2 GH_ACCOUNT= pioneerspacesim ALL_TARGET= all build-data CMAKE_ARGS= -DPIONEER_DATA_DIR:PATH="${DATADIR}/data" CMAKE_ON= USE_SYSTEM_LIBGLEW USE_SYSTEM_LIBLUA -CMAKE_OFF= FMT_INSTALL PORTDATA= * PORTDOCS= AUTHORS.txt Changelog.txt Quickstart.txt \ README.md editor.txt SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS PROFILER NOGPUJOBS_DESC= Disable EnableGPUJobs for config.ini by default PROFILER_DESC= Build with internal profiler DOCS_SUB_LIST= QUICKSTART_PATH="${DOCSDIR}" DOCS_SUB_LIST_OFF= QUICKSTART_PATH="https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${GH_TAGNAME}" PROFILER_CMAKE_BOOL= PROFILER_ENABLED .include .if ${ARCH} != amd64 && ${ARCH} != i386 -CMAKE_ARGS+= -DUSE_SSE42:BOOL=OFF +CMAKE_OFF+= USE_SSE42 .endif post-install-DOCS-on: @(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) .include diff --git a/games/pioneer/distinfo b/games/pioneer/distinfo index 493d70b7d8e9..164a6f049ac0 100644 --- a/games/pioneer/distinfo +++ b/games/pioneer/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1711646408 -SHA256 (pioneerspacesim-pioneer-20240314_GH0.tar.gz) = 9cd31abd3e4d90cb589ecd628118dfb76ad5e98638361da666d76539b3269c3f -SIZE (pioneerspacesim-pioneer-20240314_GH0.tar.gz) = 574924215 +TIMESTAMP = 1720621207 +SHA256 (pioneerspacesim-pioneer-20240710_GH0.tar.gz) = 65549552df84edaecf0c2547d01dec137282c9fe20a1299f9494b739c90ef7ed +SIZE (pioneerspacesim-pioneer-20240710_GH0.tar.gz) = 574999144 diff --git a/games/pioneer/files/patch-src_core_macros.h b/games/pioneer/files/patch-src_core_macros.h deleted file mode 100644 index 1dcabf3b32a2..000000000000 --- a/games/pioneer/files/patch-src_core_macros.h +++ /dev/null @@ -1,13 +0,0 @@ ---- src/core/macros.h.orig 2024-03-14 20:05:43 UTC -+++ src/core/macros.h -@@ -45,6 +45,10 @@ char (&COUNTOF_Helper(T (&array)[N]))[N]; - #include - #define stackalloc(T, n) reinterpret_cast(_alloca(sizeof(T) * n)) - #else -+#ifdef __FreeBSD__ -+#include -+#else - #include -+#endif - #define stackalloc(T, n) reinterpret_cast(alloca(sizeof(T) * n)) - #endif diff --git a/games/pioneer/files/patch-src_vector3.h b/games/pioneer/files/patch-src_vector3.h deleted file mode 100644 index d489753e560e..000000000000 --- a/games/pioneer/files/patch-src_vector3.h +++ /dev/null @@ -1,10 +0,0 @@ ---- src/vector3.h.orig 2024-03-14 20:05:43 UTC -+++ src/vector3.h -@@ -8,6 +8,7 @@ - #include "vector2.h" - #include - #include -+#include - - // Need this pragma due to operator[] implementation. - #pragma pack(4)