mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 09:33:41 +00:00
00c3761322
The build was broken by the recent libffi update (53a04a2df0
) because of this upstream change:ef76205647
I have changed the usage of FFI_SYSV as gentoo suggests: https://wiki.gentoo.org/wiki/Libffi_3.3_porting_notes/FFI_SYSV I'm not entirely sure if that is the right call here, but I haven't noticed any regressions in my testing and its definitely better than a broken build. Upstream: https://gitlab.com/embeddable-common-lisp/ecl/issues/302
16 lines
438 B
Diff
16 lines
438 B
Diff
diff --git a/src/c/ffi.d b/src/c/ffi.d
|
|
index 8861303e..8a959c23 100644
|
|
--- a/src/c/ffi.d
|
|
+++ b/src/c/ffi.d
|
|
@@ -145,8 +145,8 @@ static struct {
|
|
#elif defined(X86_WIN64)
|
|
{@':win64', FFI_WIN64},
|
|
#elif defined(X86_ANY) || defined(X86) || defined(X86_64)
|
|
- {@':cdecl', FFI_SYSV},
|
|
- {@':sysv', FFI_SYSV},
|
|
+ {@':cdecl', FFI_UNIX64},
|
|
+ {@':sysv', FFI_UNIX64},
|
|
{@':unix64', FFI_UNIX64},
|
|
#endif
|
|
};
|