void-packages/srcpkgs/libffi/patches/fix-aarch64.patch

16 lines
380 B
Diff

Description: fixes issue with aarch64
Author: Debian packagers
Origin: libffi_3.2.1-9.debian.tar.xz
--- src/aarch64/ffi.c
+++ src/aarch64/ffi.c
@@ -731,7 +731,7 @@
state.ngrn = N_X_ARG_REG;
memcpy (allocate_to_stack (&state, stack, ty->alignment,
- ty->size), ecif->avalue + i, ty->size);
+ ty->size), ecif->avalue[i], ty->size);
}
break;