diff --git a/srcpkgs/godot/patches/20-fix-musl.patch b/srcpkgs/godot/patches/20-fix-musl.patch new file mode 100644 index 00000000000..1f14e6e7cc3 --- /dev/null +++ b/srcpkgs/godot/patches/20-fix-musl.patch @@ -0,0 +1,18 @@ +diff --git a/thirdparty/manifold/src/sparse.h b/thirdparty/manifold/src/sparse.h +index a25ea61141..82ba7c5af6 100644 +--- a/thirdparty/manifold/src/sparse.h ++++ b/thirdparty/manifold/src/sparse.h +@@ -40,11 +40,13 @@ class SparseIndices { + // such that the indices are sorted by (p << 32) | q + public: + #if defined(__BYTE_ORDER) && __BYTE_ORDER == __BIG_ENDIAN || \ ++ defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ || \ + defined(__BIG_ENDIAN__) || defined(__ARMEB__) || defined(__THUMBEB__) || \ + defined(__AARCH64EB__) || defined(_MIBSEB) || defined(__MIBSEB) || \ + defined(__MIBSEB__) + static constexpr size_t pOffset = 0; + #elif defined(__BYTE_ORDER) && __BYTE_ORDER == __LITTLE_ENDIAN || \ ++ defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ || \ + defined(__LITTLE_ENDIAN__) || defined(__ARMEL__) || \ + defined(__THUMBEL__) || defined(__AARCH64EL__) || defined(_MIPSEL) || \ + defined(__MIPSEL) || defined(__MIPSEL__) || defined(__EMSCRIPTEN__) || \ diff --git a/srcpkgs/godot/template b/srcpkgs/godot/template index 618d8a77a18..24c83aabdf2 100644 --- a/srcpkgs/godot/template +++ b/srcpkgs/godot/template @@ -1,7 +1,7 @@ # Template file for 'godot' pkgname=godot -version=4.3 -revision=7 +version=4.4.1 +revision=1 archs="x86_64* i686* aarch64* armv7* ppc64*" build_style=scons make_build_args="platform=linuxbsd target=editor progress=no production=yes @@ -25,7 +25,7 @@ maintainer="dataCobra " license="MIT" homepage="https://www.godotengine.org/" distfiles="https://github.com/godotengine/godot/archive/${version}-stable.tar.gz" -checksum=6a441d02957432d76343052296dc514b1b6bd72af920c9f2518b1ec3cb534874 +checksum=a486c523494e155b6912a607b5813577f8f39285f8ad43ac76cb9141edad9888 nocross=https://build.voidlinux.org/builders/armv7l_builder/builds/6342/steps/shell_3/logs/stdio CFLAGS+=" -fPIE -fPIC"