diff --git a/srcpkgs/pioneer/patches/missing-includes.patch b/srcpkgs/pioneer/patches/missing-includes.patch new file mode 100644 index 00000000000..36e7fecc86d --- /dev/null +++ b/srcpkgs/pioneer/patches/missing-includes.patch @@ -0,0 +1,20 @@ +--- a/src/DateTime.h 2024-07-10 14:12:58.000000000 +0200 ++++ - 2024-12-26 23:58:03.454800522 +0100 +@@ -2,6 +2,7 @@ + #define DATETIME_H + + #include ++#include + + namespace Time { + +--- a/contrib/nanosockets/nanosockets.h 2024-07-10 14:12:58.000000000 +0200 ++++ - 2024-12-27 00:00:02.236314638 +0100 +@@ -142,6 +142,7 @@ + #include + #include + #include ++ #include + #endif + + // Macros diff --git a/srcpkgs/pioneer/patches/ppc-riscv64.patch b/srcpkgs/pioneer/patches/ppc-riscv64.patch deleted file mode 100644 index e388c2eb984..00000000000 --- a/srcpkgs/pioneer/patches/ppc-riscv64.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/contrib/profiler/Profiler.h -+++ b/contrib/profiler/Profiler.h -@@ -8,7 +8,7 @@ - #define __PROFILER_FULL_TYPE_EXPANSION__ - - //#define USE_CHRONO --#if !defined(USE_CHRONO) && (defined(__arm__) || defined(__aarch64__) || defined(__PPC64__) || defined(_M_AMD64) || defined(_WIN64) || defined(_M_X64)) -+#if !defined(USE_CHRONO) && (defined(__arm__) || defined(__aarch64__) || defined(__powerpc__) || defined(__riscv) || defined(_M_AMD64) || defined(_WIN64) || defined(_M_X64)) - // this isn't optional for __arm__ or x64 builds - #define USE_CHRONO - #endif diff --git a/srcpkgs/pioneer/template b/srcpkgs/pioneer/template index 9614ba1f1ad..873aa533350 100644 --- a/srcpkgs/pioneer/template +++ b/srcpkgs/pioneer/template @@ -1,11 +1,11 @@ # Template file for 'pioneer' pkgname=pioneer -version=20220203 +version=20240710 revision=1 build_style=cmake make_build_target="all build-data" -configure_args="-DPIONEER_DATA_DIR=/usr/share/pioneer - -DUSE_SYSTEM_LIBLUA=ON -DUSE_SYSTEM_LIBGLEW=ON" +configure_args="-DPIONEER_DATA_DIR=/usr/share/pioneer/data + -DUSE_SYSTEM_LIBLUA=ON -DUSE_SYSTEM_LIBGLEW=ON -DUSE_SSE42=OFF" hostmakedepends="automake pkg-config" makedepends="freetype-devel libassimp-devel libsigc++-devel libvorbis-devel SDL2_image-devel glew-devel lua52-devel" @@ -15,7 +15,7 @@ maintainer="John " license="GPL-3.0-or-later" homepage="https://pioneerspacesim.net" distfiles="https://github.com/pioneerspacesim/pioneer/archive/${version}.tar.gz" -checksum=415b55bab7f011f7244348428e13006fa67a926b9be71f2c4ad24e92cfeb051c +checksum=65549552df84edaecf0c2547d01dec137282c9fe20a1299f9494b739c90ef7ed if [ "$CROSS_BUILD" ]; then hostmakedepends+=" pioneer-modelcompiler"