git: 9302d0e1c14e - main - games/luanti: fix build on powerpc64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 10 Oct 2026 18:16:37 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9302d0e1c14ecd16fc7507d65c7b26fb6da070f4
commit 9302d0e1c14ecd16fc7507d65c7b26fb6da070f4
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-10-10 09:54:11 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-10-10 18:15:33 +0000
games/luanti: fix build on powerpc64
The bundled Irrlicht uses os::Byteswap under __BIG_ENDIAN__ in
CXMeshFileLoader.h without including os.h.
---
games/luanti/files/patch-irr_src_CXMeshFileLoader.h | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/games/luanti/files/patch-irr_src_CXMeshFileLoader.h b/games/luanti/files/patch-irr_src_CXMeshFileLoader.h
new file mode 100644
index 000000000000..e241f7c61216
--- /dev/null
+++ b/games/luanti/files/patch-irr_src_CXMeshFileLoader.h
@@ -0,0 +1,10 @@
+--- irr/src/CXMeshFileLoader.h.orig 2026-08-20 17:08:34 UTC
++++ irr/src/CXMeshFileLoader.h
+@@ -9,6 +9,7 @@
+ #include "irrString.h"
+ #include "S3DVertex.h"
+ #include "SkinnedMesh.h"
++#include "os.h"
+
+ #include <algorithm>
+ #include <cstring>