mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
5b9822cf43
* gnu/packages/sagemath.scm (ecl-16): New variable. * gnu/packages/patches/ecl-16-format-directive-limit.patch, gnu/packages/patches/ecl-16-ignore-stderr-write-error.patch, gnu/packages/patches/ecl-16-libffi.patch: New files. * gnu/local.mk (dist_patch_DATA): Register the patches.
16 lines
462 B
Diff
16 lines
462 B
Diff
Patch adapted from Sage. Allows building ECL on libffi 3.3.
|
|
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
|
|
@@ -133,8 +133,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
|
|
};
|