void-packages/srcpkgs/libffi/patches/fix-aarch64.patch
Jürgen Buchmüller a369f4e48d
libffi: import (some) Debian patches
The Debian team has some patches which we were missing.
This set does not address the ppc64* failing tests, though.
I did not include patches for alpha or riscv becase we
do not (yet) support these target architectures.

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-05-08 15:33:50 +02:00

15 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;