mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
pioneer: update to 20240710.
This commit is contained in:
parent
04d481b705
commit
edc1d7e5ac
3 changed files with 24 additions and 15 deletions
20
srcpkgs/pioneer/patches/missing-includes.patch
Normal file
20
srcpkgs/pioneer/patches/missing-includes.patch
Normal file
|
@ -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 <string>
|
||||||
|
+#include <cstdint>
|
||||||
|
|
||||||
|
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 <netdb.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
+ #include <sys/select.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// Macros
|
|
@ -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
|
|
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'pioneer'
|
# Template file for 'pioneer'
|
||||||
pkgname=pioneer
|
pkgname=pioneer
|
||||||
version=20220203
|
version=20240710
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
make_build_target="all build-data"
|
make_build_target="all build-data"
|
||||||
configure_args="-DPIONEER_DATA_DIR=/usr/share/pioneer
|
configure_args="-DPIONEER_DATA_DIR=/usr/share/pioneer/data
|
||||||
-DUSE_SYSTEM_LIBLUA=ON -DUSE_SYSTEM_LIBGLEW=ON"
|
-DUSE_SYSTEM_LIBLUA=ON -DUSE_SYSTEM_LIBGLEW=ON -DUSE_SSE42=OFF"
|
||||||
hostmakedepends="automake pkg-config"
|
hostmakedepends="automake pkg-config"
|
||||||
makedepends="freetype-devel libassimp-devel libsigc++-devel
|
makedepends="freetype-devel libassimp-devel libsigc++-devel
|
||||||
libvorbis-devel SDL2_image-devel glew-devel lua52-devel"
|
libvorbis-devel SDL2_image-devel glew-devel lua52-devel"
|
||||||
|
@ -15,7 +15,7 @@ maintainer="John <me@johnnynator.dev>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://pioneerspacesim.net"
|
homepage="https://pioneerspacesim.net"
|
||||||
distfiles="https://github.com/pioneerspacesim/pioneer/archive/${version}.tar.gz"
|
distfiles="https://github.com/pioneerspacesim/pioneer/archive/${version}.tar.gz"
|
||||||
checksum=415b55bab7f011f7244348428e13006fa67a926b9be71f2c4ad24e92cfeb051c
|
checksum=65549552df84edaecf0c2547d01dec137282c9fe20a1299f9494b739c90ef7ed
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" pioneer-modelcompiler"
|
hostmakedepends+=" pioneer-modelcompiler"
|
||||||
|
|
Loading…
Add table
Reference in a new issue