1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-21 07:37:09 +00:00
termux-packages/packages/gauche/src-gauche-priv-pairP.h.patch
Tee KOBAYASHI 3636e9fb9c gauche: Fix assertion failure on arm
Effectively reverts commit 3aca178a07.
2021-12-30 08:38:48 +02:00

12 lines
410 B
Diff

--- a/src/gauche/priv/pairP.h
+++ b/src/gauche/priv/pairP.h
@@ -65,7 +65,7 @@
* and immutable pairs, but that'll break existing code which tests equality
* of class, rather than is-a relationship.
*/
-typedef struct ScmExtendedPairDescriptorRec {
+typedef __attribute__((__aligned__(8))) struct ScmExtendedPairDescriptorRec {
ScmClass *klass;
u_long flags;
void (*setCar)(ScmObj, ScmObj);