From c59f9d6af17cc41dfe175f75f4a4405f2a390738 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Fri, 8 Oct 2021 11:17:37 +0200 Subject: [PATCH] 0ad: acces to xmm regs was changed in beta3 see https://github.com/haiku/haiku/commit/9495126984d664dfa8afc1382b5614ee69ba2a1e and https://github.com/haiku/haiku/commit/6f3a5c9ab0c2f388ef0ff6efff713732a710cd93 and --- games-strategy/0ad/patches/0ad-0.0.23b~alpha.patchset | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-strategy/0ad/patches/0ad-0.0.23b~alpha.patchset b/games-strategy/0ad/patches/0ad-0.0.23b~alpha.patchset index c0b774a17..93833860f 100644 --- a/games-strategy/0ad/patches/0ad-0.0.23b~alpha.patchset +++ b/games-strategy/0ad/patches/0ad-0.0.23b~alpha.patchset @@ -1021,7 +1021,7 @@ index 0000000..74d6f47 ++# define R13_sig(p) ((p)->uc_mcontext.r13) ++# define R14_sig(p) ((p)->uc_mcontext.r14) ++# define R15_sig(p) ((p)->uc_mcontext.r15) -++# define XMM_sig(p,i) ((p)->uc_mcontext.fpu.xmm.xmm ## i) +++# define XMM_sig(p,i) ((p)->uc_mcontext.fpu.fp_fxsave.xmm[i]) ++# endif + #else + # error "Don't know how to read/write to the thread state via the mcontext_t."