summaryrefslogtreecommitdiff
path: root/devel/godot
diff options
context:
space:
mode:
Diffstat (limited to 'devel/godot')
-rw-r--r--devel/godot/Makefile2
-rw-r--r--devel/godot/files/patch-thirdparty_jolt__physics_Jolt_Core_Core.h11
2 files changed, 12 insertions, 1 deletions
diff --git a/devel/godot/Makefile b/devel/godot/Makefile
index a6db516d4139..787eb3c3150b 100644
--- a/devel/godot/Makefile
+++ b/devel/godot/Makefile
@@ -109,7 +109,7 @@ X11_MAKE_ARGS_OFF= x11=False
.include <bsd.port.options.mk>
-.if ${ARCH:Mpowerpc*} || ${ARCH:Mriscv64*}
+.if ${ARCH} == powerpc || ${ARCH:Mriscv64*}
MAKE_ARGS+= module_embree_enabled=no \
module_raycast_enabled=no \
module_webm_enabled=no
diff --git a/devel/godot/files/patch-thirdparty_jolt__physics_Jolt_Core_Core.h b/devel/godot/files/patch-thirdparty_jolt__physics_Jolt_Core_Core.h
new file mode 100644
index 000000000000..41a7d11c20b0
--- /dev/null
+++ b/devel/godot/files/patch-thirdparty_jolt__physics_Jolt_Core_Core.h
@@ -0,0 +1,11 @@
+--- thirdparty/jolt_physics/Jolt/Core/Core.h.orig 2025-08-13 15:24:56 UTC
++++ thirdparty/jolt_physics/Jolt/Core/Core.h
+@@ -215,7 +215,7 @@
+ #define JPH_CPU_BIG_ENDIAN
+ #endif
+ #define JPH_VECTOR_ALIGNMENT 16
+- #define JPH_DVECTOR_ALIGNMENT 8
++ #define JPH_DVECTOR_ALIGNMENT 16
+ #elif defined(__loongarch__)
+ // LoongArch CPU architecture
+ #define JPH_CPU_LOONGARCH