commit: 05ae4e62c95ac7bc7d4d210de931b501ed561f35
Author: hautist <lookatnadeko <AT> protonmail <DOT> com>
AuthorDate: Mon Jan 12 12:13:17 2026 +0000
Commit: hautist <lookatnadeko <AT> protonmail <DOT> com>
CommitDate: Mon Jan 12 12:13:17 2026 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=05ae4e62
games-engines/xsystem4: workaround cglm memory alignment issue
Signed-off-by: hautist <lookatnadeko <AT> protonmail.com>
.../xsystem4/{xsystem4-1.0.0.ebuild => xsystem4-1.0.0-r1.ebuild} | 4 ++++
games-engines/xsystem4/xsystem4-9999.ebuild | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/games-engines/xsystem4/xsystem4-1.0.0.ebuild
b/games-engines/xsystem4/xsystem4-1.0.0-r1.ebuild
similarity index 91%
rename from games-engines/xsystem4/xsystem4-1.0.0.ebuild
rename to games-engines/xsystem4/xsystem4-1.0.0-r1.ebuild
index d8d763b369..0647263631 100644
--- a/games-engines/xsystem4/xsystem4-1.0.0.ebuild
+++ b/games-engines/xsystem4/xsystem4-1.0.0-r1.ebuild
@@ -69,6 +69,10 @@ src_configure() {
local emesonargs=(
$(meson_feature debug debugger)
$(meson_feature gles2 opengles)
+
+ # Workaround for unaligned memory access with cglm+AVX
+ # See: https://github.com/nunuhara/xsystem4/issues/XXX
+ -Dc_args="-DCGLM_ALL_UNALIGNED"
)
meson_src_configure
diff --git a/games-engines/xsystem4/xsystem4-9999.ebuild
b/games-engines/xsystem4/xsystem4-9999.ebuild
index 11d9c328b0..33d5a29777 100644
--- a/games-engines/xsystem4/xsystem4-9999.ebuild
+++ b/games-engines/xsystem4/xsystem4-9999.ebuild
@@ -50,6 +50,10 @@ src_configure() {
local emesonargs=(
$(meson_feature debug debugger)
$(meson_feature gles2 opengles)
+
+ # Workaround for unaligned memory access with cglm+AVX
+ # See: https://github.com/nunuhara/xsystem4/issues/XXX
+ -Dc_args="-DCGLM_ALL_UNALIGNED"
)
meson_src_configure