Here's an update of vegastrike to a newer release which works much better
for me than version 0.8.0.
ok?
Index: Makefile.inc
===================================================================
RCS file: /cvs/ports/games/vegastrike/Makefile.inc,v
diff -u -p -u -r1.9 Makefile.inc
--- Makefile.inc 22 Jun 2026 02:22:11 -0000 1.9
+++ Makefile.inc 24 Jun 2026 03:05:44 -0000
@@ -1,6 +1,6 @@
ONLY_FOR_ARCHS = amd64 i386
-V = 0.8.0
+V = 0.9.1
SUBST_VARS += V
Index: engine/Makefile
===================================================================
RCS file: /cvs/ports/games/vegastrike/engine/Makefile,v
diff -u -p -u -r1.21 Makefile
--- engine/Makefile 22 Jun 2026 02:22:11 -0000 1.21
+++ engine/Makefile 24 Jun 2026 03:05:44 -0000
@@ -27,6 +27,9 @@ LIB_DEPENDS = x11/gtk+3 \
RUN_DEPENDS = games/vegastrike/utcs>=${V}
-CONFIGURE_ARGS = -DDISABLE_OGRE=ON
+CONFIGURE_ARGS = -DCMAKE_CXX_FLAGS="-I${X11BASE}/include" \
+ -DDISABLE_OGRE=ON \
+ -DINSTALL_GTEST=OFF \
+ -DUSE_GTEST=OFF
.include <bsd.port.mk>
Index: engine/distinfo
===================================================================
RCS file: /cvs/ports/games/vegastrike/engine/distinfo,v
diff -u -p -u -r1.2 distinfo
--- engine/distinfo 22 Jun 2026 02:22:11 -0000 1.2
+++ engine/distinfo 24 Jun 2026 03:05:44 -0000
@@ -1,2 +1,2 @@
-SHA256 (Vega-Strike_v0.8.0-Source.tar.bz2) =
rdAgGrVqQCv1INfthYP91Fxdf+y1FZF7W8hK9wj+Nqw=
-SIZE (Vega-Strike_v0.8.0-Source.tar.bz2) = 1860270
+SHA256 (Vega-Strike_v0.9.1-Source.tar.bz2) =
wT3iy23VQVrNDHwv4ZNaa8oQMBMGRYrOiBRaMjNp5q4=
+SIZE (Vega-Strike_v0.9.1-Source.tar.bz2) = 1828778
Index: engine/patches/patch-CMakeLists_txt
===================================================================
RCS file: /cvs/ports/games/vegastrike/engine/patches/patch-CMakeLists_txt,v
diff -u -p -u -r1.1 patch-CMakeLists_txt
--- engine/patches/patch-CMakeLists_txt 22 Jun 2026 02:22:11 -0000 1.1
+++ engine/patches/patch-CMakeLists_txt 24 Jun 2026 03:05:44 -0000
@@ -1,56 +1,48 @@
-- don't disable PIE on OpenBSD
-- look for Python 3.14
-- disable a few things that don't fully work
-
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
-@@ -298,11 +298,11 @@ IF (ENABLE_PIE)
- ADD_COMPILE_OPTIONS("-fpie")
- LINK_LIBRARIES("-pie")
- ELSE (ENABLE_PIE)
-- MESSAGE("++ Disabling Position Independent Executables/Shared Libraries
(Recommended on Ubuntu/Mint)")
-- IF (NOT MSVC)
-+ IF (NOT MSVC AND NOT CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
-+ MESSAGE("++ Disabling Position Independent Executables/Shared
Libraries (Recommended on Ubuntu/Mint)")
- ADD_COMPILE_OPTIONS("-fno-pie")
- LINK_LIBRARIES("-no-pie")
-- ENDIF (NOT MSVC)
-+ ENDIF ()
- ENDIF (ENABLE_PIE)
-
- IF (MSVC)
-@@ -434,7 +434,7 @@ FIND_PACKAGE(LinuxDistro REQUIRED)
- OPTION(USE_PYTHON_3 "Use Python 3 or Python 2.7 (default is 3)" ON)
- IF (USE_PYTHON_3)
- # We want at least Python 3.4, but we prefer newer versions
-- SET(Python_ADDITIONAL_VERSIONS 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4)
-+ SET(Python_ADDITIONAL_VERSIONS 3.14 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4)
- ELSE (USE_PYTHON_3)
- MESSAGE("++ Adding python 2.7 variant")
- SET(Python_ADDITIONAL_VERSIONS 2.7)
-@@ -503,7 +503,8 @@ IF (USE_SYSTEM_BOOST)
-
- UNSET(Boost_${BOOST_PYTHON_COMPONENT}_FOUND)
- MESSAGE("++ Looking for System Boost::python")
-- FIND_PACKAGE(Boost COMPONENTS ${BOOST_PYTHON_COMPONENT} log log_setup
date_time system filesystem thread chrono atomic REQUIRED)
-+ SET(Boost_NO_BOOST_CMAKE ON)
-+ FIND_PACKAGE(Boost COMPONENTS ${BOOST_PYTHON_COMPONENT} log log_setup
date_time filesystem thread chrono atomic REQUIRED)
- IF (Boost_python3_FOUND)
- MESSAGE("++ Found System Boost::python3 :
${Boost_PYTHON3_LIBRARY}")
- ELSEIF (Boost_python_FOUND)
-@@ -1333,8 +1334,6 @@ INSTALL(PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/vegastri
- ENDIF (WIN32)
+@@ -343,7 +343,7 @@ IF (PythonInstalledVia STREQUAL "Homebrew")
+ ELSEIF (PythonInstalledVia STREQUAL "MacPorts")
+ FIND_PACKAGE(Python3 3.12.8 EXACT REQUIRED COMPONENTS Development
Interpreter)
+ ELSE ()
+- FIND_PACKAGE(Python3 3.6...<3.14 REQUIRED COMPONENTS Development
Interpreter)
++ FIND_PACKAGE(Python3 3.6...<3.15 REQUIRED COMPONENTS Development
Interpreter)
+ ENDIF ()
+ MESSAGE(STATUS "Python library : ${Python3_LIBRARIES} (${Python3_VERSION})")
+@@ -359,7 +359,7 @@ ENDIF (Python3_FOUND)
+ # Find Boost with boost_python library
+ MESSAGE(STATUS "Always using system Boost now")
+ SET(BOOST_PYTHON_COMPONENT
"python${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR}")
+-FIND_PACKAGE(Boost COMPONENTS ${BOOST_PYTHON_COMPONENT} log log_setup
date_time system filesystem thread chrono atomic program_options REQUIRED)
++FIND_PACKAGE(Boost COMPONENTS ${BOOST_PYTHON_COMPONENT} log log_setup
date_time filesystem thread chrono atomic program_options REQUIRED)
+ IF (Boost_FOUND)
+ # VERSION_EQUAL / VERSION_GREATER requires a version in the form X.Y.Z
+ # Until CMake v3.15, Boost_VERSION is in the form as written in
boost/version.hpp (e.g. 106700)
+@@ -1270,14 +1270,15 @@ ELSEIF (CMAKE_SYSTEM_NAME STREQUAL Darwin)
+ ELSEIF (CMAKE_SYSTEM_NAME STREQUAL Linux)
+ INSTALL(TARGETS vegastrike-engine COMPONENT vegastrike_engine RUNTIME
DESTINATION ${CMAKE_INSTALL_BINDIR})
+ INSTALL(PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/vegastrike-engine" RENAME
vegastrike DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT vegastrike_alias)
++ELSEIF (CMAKE_SYSTEM_NAME STREQUAL OpenBSD)
++ INSTALL(TARGETS vegastrike-engine COMPONENT vegastrike_engine RUNTIME
DESTINATION ${CMAKE_INSTALL_BINDIR})
++ INSTALL(PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/vegastrike-engine" RENAME
vegastrike DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT vegastrike_alias)
+ ELSEIF (CMAKE_SYSTEM_NAME STREQUAL BEOS)
+ INSTALL(TARGETS vegastrike-engine COMPONENT vegastrike_engine RUNTIME
DESTINATION ${CMAKE_INSTALL_BINDIR})
+ ELSE ()
+ MESSAGE(WARNING "Unsupported platform; we don't know how to package Vega
Strike for you")
+ ENDIF ()
-ADD_SUBDIRECTORY("../doc" "./doc")
-
# As per
https://braintrekking.wordpress.com/2013/04/27/dll-hell-how-to-include-microsoft-redistributable-runtime-libraries-in-your-cmakecpack-project/
- INSTALL(FILES ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION bin COMPONENT
Libraries)
+ INSTALL(FILES ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS} DESTINATION
${CMAKE_INSTALL_BINDIR} COMPONENT system_libraries)
-@@ -1733,5 +1732,3 @@ ELSE ()
- # Unknown Platform --> Just do the various compressed tarballs
- SET(CPACK_GENERATOR "TBZ2" "TGZ" "TXZ")
- ENDIF (WIN32 AND NOT UNIX)
+@@ -1732,8 +1733,6 @@ ELSE ()
+ ENDIF ()
+
+ SET(CPACK_COMPONENTS_GROUPING ALL_COMPONENTS_IN_ONE)
-
-INCLUDE(CPack)
+
+ IF (INSTALL_GTEST OR USE_GTEST)
+ MESSAGE(STATUS "Configuring Unit Tests")
Index: engine/patches/patch-src_cmd_basecomputer_cpp
===================================================================
RCS file:
/cvs/ports/games/vegastrike/engine/patches/patch-src_cmd_basecomputer_cpp,v
diff -u -p -u -r1.3 patch-src_cmd_basecomputer_cpp
--- engine/patches/patch-src_cmd_basecomputer_cpp 22 Jun 2026 02:22:11
-0000 1.3
+++ engine/patches/patch-src_cmd_basecomputer_cpp 24 Jun 2026 03:05:44
-0000
@@ -1,21 +1,12 @@
Index: src/cmd/basecomputer.cpp
--- src/cmd/basecomputer.cpp.orig
+++ src/cmd/basecomputer.cpp
-@@ -2877,7 +2877,7 @@ static int datesort( const void *v1, const void *v2 )
- return s1.st_mtime-s2.st_mtime;
- }
-
--#if (defined (__FREEBSD__)) || (defined (_WIN32) && !defined (__CYGWIN__ ) )
|| (defined (__GLIBC_MINOR__) && __GLIBC_MINOR__ >= 10) || defined(__HAIKU__)
-+#if (defined (__FREEBSD__)) || (defined (_WIN32) && !defined (__CYGWIN__ ) )
|| (defined (__GLIBC_MINOR__) && __GLIBC_MINOR__ >= 10) || defined(__HAIKU__)
|| defined(__OPENBSD__)
- typedef int (*scancompare)( const struct dirent **v1, const struct dirent
**v2 );
- #else
- typedef int (*scancompare)( const void *v1, const void *v2 );
-@@ -4574,7 +4574,7 @@ bool BaseComputer::showPlayerInfo( const EventCommandI
- void prettyPrintFloat( char *buffer, float f, int digitsBefore, int
digitsAfter, int bufferLen )
- {
- int bufferPos = 0;
-- if ( !FINITE( f ) || ISNAN( f ) ) {
-+ if ( !FINITE( f ) || std::isnan( f ) ) {
+@@ -4704,7 +4704,7 @@ bool BaseComputer::showPlayerInfo(const EventCommandId
+ //does not work with negative numbers!!
+ void prettyPrintFloat(char *buffer, float f, int digitsBefore, int
digitsAfter, int bufferLen) {
+ int bufferPos = 0;
+- if (!FINITE(f) || ISNAN(f)) {
++ if (!FINITE(f) || std::isnan(f)) {
buffer[0] = 'n';
buffer[1] = '/';
buffer[2] = 'a';
Index: engine/patches/patch-src_cmd_collide2_opcodetypes_h
===================================================================
RCS file:
/cvs/ports/games/vegastrike/engine/patches/patch-src_cmd_collide2_opcodetypes_h,v
diff -u -p -u -r1.3 patch-src_cmd_collide2_opcodetypes_h
--- engine/patches/patch-src_cmd_collide2_opcodetypes_h 22 Jun 2026 02:22:11
-0000 1.3
+++ engine/patches/patch-src_cmd_collide2_opcodetypes_h 24 Jun 2026 03:05:44
-0000
@@ -1,7 +1,7 @@
Index: src/cmd/collide2/opcodetypes.h
--- src/cmd/collide2/opcodetypes.h.orig
+++ src/cmd/collide2/opcodetypes.h
-@@ -195,7 +195,7 @@ typedef uint64 uintmax_t;
+@@ -141,7 +141,7 @@ typedef intptr_t opc_ptrdiff_t;
#if defined(HAVE_WCTYPE_H)
#include <wctype.h>
#endif
@@ -9,4 +9,4 @@ Index: src/cmd/collide2/opcodetypes.h
+#if !((defined(CS_HAVE_WINT_T) && defined(_WCTYPE_T_DEFINED)) ||
defined(_WINT_T) || defined(_WINT_T_DECLARED)) && !defined(__cplusplus)
#ifndef wint_t
#if _MSC_VER >= 1300
- typedef unsigned short wint_t;
+ typedef unsigned short wint_t;
Index: engine/patches/patch-src_cmd_collide_map_h
===================================================================
RCS file:
/cvs/ports/games/vegastrike/engine/patches/patch-src_cmd_collide_map_h,v
diff -u -p -u -r1.3 patch-src_cmd_collide_map_h
--- engine/patches/patch-src_cmd_collide_map_h 22 Jun 2026 02:22:11 -0000
1.3
+++ engine/patches/patch-src_cmd_collide_map_h 24 Jun 2026 03:05:44 -0000
@@ -1,7 +1,7 @@
Index: src/cmd/collide_map.h
--- src/cmd/collide_map.h.orig
+++ src/cmd/collide_map.h
-@@ -33,6 +33,7 @@
+@@ -35,6 +35,7 @@
#include <limits>
#endif
#include <vector>
@@ -9,25 +9,25 @@ Index: src/cmd/collide_map.h
/* Arbitrarily use Set for ALL PLATFORMS -hellcatv */
class Unit;
class Bolt;
-@@ -61,7 +62,7 @@ class Collidable (public)
+@@ -61,7 +62,7 @@ class Collidable { (public)
position = QVector( 0, 0, 0 ); //hack for now
#else
-- if ( ISNAN( getKey() ) )
-+ if ( std::isnan( getKey() ) )
- position = QVector( 0, 0, 0 ); //hack for now
+- if (ISNAN(getKey())) {
++ if (std::isnan(getKey())) {
+ position = QVector(0, 0, 0);
+ } //hack for now
#endif
- }
-@@ -102,7 +103,7 @@ class Collidable (public)
- #ifdef __APPLE__
- !FINITE( radius )
+@@ -105,7 +106,7 @@ class Collidable { (public)
+ #if defined(__APPLE__) && defined(__MACH__)
+ !FINITE( radius )
#else
-- ISNAN( radius )
-+ std::isnan( radius )
+- ISNAN(radius)
++ std::isnan(radius)
#endif
- || radius >= -FLT_MIN) radius = -FLT_MIN*2;
- this->SetPosition( p );
-@@ -202,7 +203,7 @@ inline void init_null_collide_iter()
+ || radius >= -FLT_MIN) {
+ radius = -FLT_MIN * 2;
+@@ -223,7 +224,7 @@ inline void init_null_collide_iter()
inline bool is_null( const CollideMap::iterator &it )
{
Index: engine/patches/patch-src_cmd_movable_cpp
===================================================================
RCS file: engine/patches/patch-src_cmd_movable_cpp
diff -N engine/patches/patch-src_cmd_movable_cpp
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ engine/patches/patch-src_cmd_movable_cpp 24 Jun 2026 03:05:44 -0000
@@ -0,0 +1,21 @@
+Index: src/cmd/movable.cpp
+--- src/cmd/movable.cpp.orig
++++ src/cmd/movable.cpp
+@@ -685,7 +685,7 @@ Vector Movable::ClampThrust(const Vector &amt1, bool a
+ * simulation_atom_var * Res.Magnitude()
+ * FMEC_exit_vel_inverse / Lithium6constant;
+ #ifndef __APPLE__
+- if (ISNAN(unit->fuel)) {
++ if (std::isnan(unit->fuel)) {
+ VS_LOG(error, "Fuel is NAN A");
+ unit->fuel = 0;
+ }
+@@ -696,7 +696,7 @@ Vector Movable::ClampThrust(const Vector &amt1, bool a
+ //HACK this forces the reaction to be Li-6+Li-6 fusion with
efficiency governed by the getFuelUsage function
+ unit->fuel -= unit->getFuelUsage(false) * simulation_atom_var *
Res.Magnitude() * FMEC_exit_vel_inverse / Lithium6constant;
+ #ifndef __APPLE__
+- if (ISNAN(unit->fuel)) {
++ if (std::isnan(unit->fuel)) {
+ VS_LOG(error, "Fuel is NAN B");
+ unit->fuel = 0;
+ }
Index: engine/patches/patch-src_cmd_script_script_statement_cpp
===================================================================
RCS file:
/cvs/ports/games/vegastrike/engine/patches/patch-src_cmd_script_script_statement_cpp,v
diff -u -p -u -r1.2 patch-src_cmd_script_script_statement_cpp
--- engine/patches/patch-src_cmd_script_script_statement_cpp 11 Mar 2022
19:05:07 -0000 1.2
+++ engine/patches/patch-src_cmd_script_script_statement_cpp 24 Jun 2026
03:05:44 -0000
@@ -3,12 +3,12 @@ ludicrous "concatenation"
Index: src/cmd/script/script_statement.cpp
--- src/cmd/script/script_statement.cpp.orig
+++ src/cmd/script/script_statement.cpp
-@@ -77,7 +77,7 @@ void Mission::doIf( missionNode *node, int mode )
+@@ -82,7 +82,7 @@ void Mission::doIf(missionNode *node, int mode) {
int nr_subnodes = node->subnodes.size();
if (nr_subnodes != 3) {
-- fatalError( node, mode, "an if-statement needs exact three
subnodes, not "+nr_subnodes );
-+ fatalError( node, mode, "an if-statement needs exactly three
subnodes" );
- printf( "nr_of_subnodes: %d\n", nr_subnodes );
+- fatalError(node, mode, "an if-statement needs exact three
subnodes, not " + nr_subnodes);
++ fatalError(node, mode, "an if-statement needs exactly three
subnodes");
+ printf("nr_of_subnodes: %d\n", nr_subnodes);
- assert( 0 );
+ assert(0);
Index: engine/patches/patch-src_cmd_unit_generic_cpp
===================================================================
RCS file:
/cvs/ports/games/vegastrike/engine/patches/patch-src_cmd_unit_generic_cpp,v
diff -u -p -u -r1.4 patch-src_cmd_unit_generic_cpp
--- engine/patches/patch-src_cmd_unit_generic_cpp 22 Jun 2026 02:22:11
-0000 1.4
+++ engine/patches/patch-src_cmd_unit_generic_cpp 24 Jun 2026 03:05:44
-0000
@@ -1,38 +1,11 @@
Index: src/cmd/unit_generic.cpp
--- src/cmd/unit_generic.cpp.orig
+++ src/cmd/unit_generic.cpp
-@@ -78,6 +78,7 @@
+@@ -95,6 +95,7 @@
#include "unit_find.h"
#include "pilot.h"
+#include <cmath>
- #include "vsfilesystem.h"
#include <iostream>
-@@ -1931,7 +1932,7 @@ Vector Unit::ClampTorque( const Vector &amt1 )
- //HACK this forces the reaction to be Li-6+D fusion with efficiency
governed by the getFuelUsage function
- fuel -= Energetic::getFuelUsage( false ) * simulation_atom_var *
Res.Magnitude()*FMEC_exit_vel_inverse/Lithium6constant;
- #ifndef __APPLE__
-- if ( ISNAN( fuel ) ) {
-+ if ( std::isnan( fuel ) ) {
- BOOST_LOG_TRIVIAL(error) << "FUEL is NAN";
- fuel = 0;
- }
-@@ -2085,7 +2086,7 @@ Vector Unit::ClampThrust( const Vector &amt1, bool aft
- && finegrainedFuelEfficiency) ? afterburnenergy :
Energetic::getFuelUsage( afterburn ) ) * simulation_atom_var * Res.Magnitude()
- *FMEC_exit_vel_inverse/Lithium6constant;
- #ifndef __APPLE__
-- if ( ISNAN( fuel ) ) {
-+ if ( std::isnan( fuel ) ) {
- BOOST_LOG_TRIVIAL(error) << "Fuel is NAN A";
- fuel = 0;
- }
-@@ -2096,7 +2097,7 @@ Vector Unit::ClampThrust( const Vector &amt1, bool aft
- //HACK this forces the reaction to be Li-6+Li-6 fusion with
efficiency governed by the getFuelUsage function
- fuel -= getFuelUsage( false ) * simulation_atom_var *
Res.Magnitude()*FMEC_exit_vel_inverse/Lithium6constant;
- #ifndef __APPLE__
-- if ( ISNAN( fuel ) ) {
-+ if ( std::isnan( fuel ) ) {
- BOOST_LOG_TRIVIAL(error) << "Fuel is NAN B";
- fuel = 0;
- }
+ #define DEBUG_MESH_ANI
Index: engine/patches/patch-src_endianness_h
===================================================================
RCS file: /cvs/ports/games/vegastrike/engine/patches/patch-src_endianness_h,v
diff -u -p -u -r1.3 patch-src_endianness_h
--- engine/patches/patch-src_endianness_h 22 Jun 2026 02:22:11 -0000
1.3
+++ engine/patches/patch-src_endianness_h 24 Jun 2026 03:05:44 -0000
@@ -1,11 +1,11 @@
Index: src/endianness.h
--- src/endianness.h.orig
+++ src/endianness.h
-@@ -31,6 +31,7 @@ double DONTUSE__NXSwapBigDoubleToLittleEndian( double
+@@ -33,6 +33,7 @@ double DONTUSE__NXSwapBigDoubleToLittleEndian(double x
#if defined (__HAIKU__) //For unknow reasons, Haiku don't fit into any case
below
#include <endian.h>
- #elif defined (__APPLE__) || defined (MACOSX) || defined (BSD) || defined
(__FreeBSD__)
+ #elif defined (BSD) || defined (__FreeBSD__)
+ #include <sys/types.h>
#include <machine/endian.h>
- #else
+ #else //defined (__HAIKU__)
Index: engine/patches/patch-src_gfx_aligned_h
===================================================================
RCS file: engine/patches/patch-src_gfx_aligned_h
diff -N engine/patches/patch-src_gfx_aligned_h
--- engine/patches/patch-src_gfx_aligned_h 22 Jun 2026 02:22:11 -0000
1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,50 +0,0 @@
-Index: src/gfx/aligned.h
---- src/gfx/aligned.h.orig
-+++ src/gfx/aligned.h
-@@ -61,6 +61,11 @@ template <typename T, int ALIGN=16> class aligned_allo
- typedef typename std::allocator<T>::difference_type difference_type;
-
- static const int _OVERHEAD = (sizeof(T) + ALIGN-1) / ALIGN +
sizeof(size_t);
-+
-+ template <typename U>
-+ struct rebind {
-+ typedef aligned_allocator<U, ALIGN> other;
-+ };
-
- aligned_allocator() {}
- template<typename A> explicit aligned_allocator(const A &other) :
std::allocator<T>(other) {}
-@@ -83,10 +88,10 @@ template <typename T, int ALIGN=16> class aligned_allo
- }
- }
-
-- typename std::allocator<T>::pointer _align (typename
std::allocator<void>::const_pointer p)
-+ typename std::allocator<T>::pointer _align (const void *p)
- {
- if (p == 0)
-- return p;
-+ return (pointer)p;
-
- char *vrv;
-
-@@ -99,10 +104,10 @@ template <typename T, int ALIGN=16> class aligned_allo
- // Store offset
- *((size_t*)vrv - 1) = vrv - (char*)p;
-
-- return __alpn(vrv, ALIGN);
-+ return (pointer)__alpn(vrv, ALIGN);
- }
-
-- void _dealign (typename std::allocator<T>::pointer p)
-+ typename std::allocator<T>::pointer _dealign (typename
std::allocator<T>::pointer p)
- {
- if (p == 0)
- return p;
-@@ -115,7 +120,7 @@ template <typename T, int ALIGN=16> class aligned_allo
-
- typename std::allocator<T>::pointer allocate (typename
std::allocator<T>::size_type n, typename std::allocator<void>::const_pointer
hint=0)
- {
-- return __alpn(_align(std::allocator<T>::allocate(n+_OVERHEAD,
_dealign(hint))), ALIGN);
-+ return __alpn(_align(std::allocator<T>::allocate(n+_OVERHEAD, hint)),
ALIGN);
- }
-
- void deallocate (typename std::allocator<T>::pointer p, typename
std::allocator<T>::size_type n)
Index: engine/patches/patch-src_posh_h
===================================================================
RCS file: /cvs/ports/games/vegastrike/engine/patches/patch-src_posh_h,v
diff -u -p -u -r1.3 patch-src_posh_h
--- engine/patches/patch-src_posh_h 22 Jun 2026 02:22:11 -0000 1.3
+++ engine/patches/patch-src_posh_h 24 Jun 2026 03:05:44 -0000
@@ -1,7 +1,7 @@
Index: src/posh.h
--- src/posh.h.orig
+++ src/posh.h
-@@ -1058,7 +1058,7 @@ POSH_COMPILE_TIME_ASSERT( posh_i64_t, sizeof (posh_i64
+@@ -1061,7 +1061,7 @@ POSH_COMPILE_TIME_ASSERT(posh_i64_t, sizeof(posh_i64_t
#endif /* defined FORCE_DOXYGEN */
Index: engine/patches/patch-src_python_init_cpp
===================================================================
RCS file: engine/patches/patch-src_python_init_cpp
diff -N engine/patches/patch-src_python_init_cpp
--- engine/patches/patch-src_python_init_cpp 22 Jun 2026 02:22:11 -0000
1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
-Index: src/python/init.cpp
---- src/python/init.cpp.orig
-+++ src/python/init.cpp
-@@ -38,7 +38,6 @@
- #include <pyerrors.h>
- #include <pythonrun.h>
- #include <compile.h>
--#include <eval.h>
- #include <stdio.h>
- #include <math.h>
-
Index: engine/patches/patch-src_python_python_class_h
===================================================================
RCS file: engine/patches/patch-src_python_python_class_h
diff -N engine/patches/patch-src_python_python_class_h
--- engine/patches/patch-src_python_python_class_h 22 Jun 2026 02:22:11
-0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
-Index: src/python/python_class.h
---- src/python/python_class.h.orig
-+++ src/python/python_class.h
-@@ -49,7 +49,6 @@
- #include "init.h"
- #include "cmd/script/pythonmission.h"
- #include <compile.h>
--#include <eval.h>
- #include "python/python_compile.h"
- #include "cmd/ai/fire.h"
- #include <memory>
Index: engine/patches/patch-src_python_python_compile_cpp
===================================================================
RCS file: engine/patches/patch-src_python_python_compile_cpp
diff -N engine/patches/patch-src_python_python_compile_cpp
--- engine/patches/patch-src_python_python_compile_cpp 22 Jun 2026 02:22:11
-0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
-Index: src/python/python_compile.cpp
---- src/python/python_compile.cpp.orig
-+++ src/python/python_compile.cpp
-@@ -27,7 +27,6 @@
- #include "cmd/unit_generic.h"
- #include "python_compile.h"
- #include <compile.h>
--#include <eval.h>
- #include "configxml.h"
- #include "vs_globals.h"
- #include "vsfilesystem.h"
Index: engine/pkg/PLIST
===================================================================
RCS file: /cvs/ports/games/vegastrike/engine/pkg/PLIST,v
diff -u -p -u -r1.3 PLIST
--- engine/pkg/PLIST 22 Jun 2026 02:22:11 -0000 1.3
+++ engine/pkg/PLIST 24 Jun 2026 03:05:44 -0000
@@ -1,4 +1,6 @@
@bin bin/vega-meshtool
-@bin bin/vegasettings
@bin bin/vegastrike
@bin bin/vegastrike-engine
+@bin bin/vs-buildenv-asteroidgen
+@bin bin/vs-buildenv-replace
+@bin bin/vs-buildenv-trisort
Index: utcs/distinfo
===================================================================
RCS file: /cvs/ports/games/vegastrike/utcs/distinfo,v
diff -u -p -u -r1.1 distinfo
--- utcs/distinfo 22 Jun 2026 02:22:11 -0000 1.1
+++ utcs/distinfo 24 Jun 2026 03:05:44 -0000
@@ -1,2 +1,2 @@
-SHA256 (vsUTCS_v0.8.0-Source.tar.xz) =
UkG/oEKzbZWcZFy8DDKtjI9lhHTt9KL1TMfU1kvJGlU=
-SIZE (vsUTCS_v0.8.0-Source.tar.xz) = 614723200
+SHA256 (vsUTCS_v0.9.1-Source.tar.xz) =
bBlPTc4dIW8MwaBzGHG5ZEsY14yJsJulWcATL8GxQc4=
+SIZE (vsUTCS_v0.9.1-Source.tar.xz) = 614986356
Index: utcs/pkg/PLIST
===================================================================
RCS file: /cvs/ports/games/vegastrike/utcs/pkg/PLIST,v
diff -u -p -u -r1.1 PLIST
--- utcs/pkg/PLIST 22 Jun 2026 02:22:11 -0000 1.1
+++ utcs/pkg/PLIST 24 Jun 2026 03:05:45 -0000
@@ -1837,6 +1837,7 @@ share/vegastrike/communications/uln.xml
share/vegastrike/communications/uln_citizen.xml
share/vegastrike/communications/unadorned.xml
share/vegastrike/communications/unadorned_citizen.xml
+share/vegastrike/convert.py
share/vegastrike/cursor1.cur
share/vegastrike/documentation/
share/vegastrike/documentation/IntroMonologue.txt
@@ -1847,7 +1848,11 @@ share/vegastrike/favicon.ico
share/vegastrike/history/
share/vegastrike/history/Excerpts_from_the_Ivan_kltakln_guidebook.txt
share/vegastrike/history/a brief history in time and space.pdf
+share/vegastrike/master_asteroid_list.json
+share/vegastrike/master_component_list.json
share/vegastrike/master_part_list.csv
+share/vegastrike/master_part_list.json
+share/vegastrike/master_ship_list.json
share/vegastrike/meshes/
share/vegastrike/meshes/BFXMMake
share/vegastrike/meshes/Makefile.am
@@ -2496,10 +2501,12 @@ share/vegastrike/py27_modules.7z
share/vegastrike/py3_modules.7z
share/vegastrike/script/
share/vegastrike/script/build
+share/vegastrike/script/build.ps1
share/vegastrike/script/cibuild
share/vegastrike/script/clean
share/vegastrike/script/docker-entrypoint.sh
share/vegastrike/script/package
+share/vegastrike/script/package.ps1
share/vegastrike/sectors/
share/vegastrike/sectors/Crucible/
share/vegastrike/sectors/Crucible/Cephid_17.system
@@ -4437,6 +4444,7 @@ share/vegastrike/units/factions/rlaan/st
share/vegastrike/units/factions/rlaan/starfortressouter/starfortressouter
share/vegastrike/units/findunits.py
share/vegastrike/units/findunits.sh
+share/vegastrike/units/how_to_convert_to_json.txt
share/vegastrike/units/installations/
share/vegastrike/units/installations/Agricultural_Station/
share/vegastrike/units/installations/Agricultural_Station/Agricultural_Station-hud.png
@@ -4682,8 +4690,11 @@ share/vegastrike/units/landscape/
share/vegastrike/units/landscape/Road-grass.png
share/vegastrike/units/landscape/grass.png
share/vegastrike/units/landscape/puddle.png
+share/vegastrike/units/migrate_parts.py
share/vegastrike/units/navpoint/
share/vegastrike/units/navpoint/navpoint.bfxm
+share/vegastrike/units/parser.py
+share/vegastrike/units/ships.json
share/vegastrike/units/subunits/
share/vegastrike/units/subunits/aeraturretLR_heavy/
share/vegastrike/units/subunits/aeraturretLR_heavy/aeraturretLR_heavy
@@ -4856,6 +4867,7 @@ share/vegastrike/units/subunits/turretsw
share/vegastrike/units/subunits/turretswarm/turretswarm
share/vegastrike/units/turretsize.txt
share/vegastrike/units/units.csv
+share/vegastrike/units/units.json
share/vegastrike/units/units_description.csv
share/vegastrike/units/units_working.sxc
share/vegastrike/units/vessels/
@@ -5729,22 +5741,13 @@ share/vegastrike/universe/egyptian.txt
share/vegastrike/universe/etruscan.txt
share/vegastrike/universe/fgnames/
share/vegastrike/universe/fgnames/ISO.txt
-share/vegastrike/universe/fgnames/LIHW.txt
share/vegastrike/universe/fgnames/aera.txt
-share/vegastrike/universe/fgnames/andolian.txt
share/vegastrike/universe/fgnames/bzbr.txt
share/vegastrike/universe/fgnames/cities.txt
-share/vegastrike/universe/fgnames/confed.txt
-share/vegastrike/universe/fgnames/forsaken.txt
-share/vegastrike/universe/fgnames/highborn.txt
-share/vegastrike/universe/fgnames/homeland-security.txt
share/vegastrike/universe/fgnames/klkk.txt
-share/vegastrike/universe/fgnames/merchant.txt
-share/vegastrike/universe/fgnames/purist.txt
+share/vegastrike/universe/fgnames/names.txt
share/vegastrike/universe/fgnames/rlaan.txt
-share/vegastrike/universe/fgnames/shaper.txt
share/vegastrike/universe/fgnames/uln.txt
-share/vegastrike/universe/fgnames/unadorned.txt
share/vegastrike/universe/gas_giants.txt
share/vegastrike/universe/greek.txt
share/vegastrike/universe/hawaiian.txt
@@ -5782,5 +5785,6 @@ share/vegastrike/vsettings
share/vegastrike/vsinstall.sh
share/vegastrike/vslogo.xpm
share/vegastrike/weapon_list.xml
+share/vegastrike/weapons.json
share/vegastrike/windows readme.txt
@tag update-desktop-database