diff options
author | Jakub Kądziołka <kuba@kadziolka.net> | 2020-06-17 02:08:04 +0200 |
---|---|---|
committer | Jakub Kądziołka <kuba@kadziolka.net> | 2020-07-10 23:03:41 +0200 |
commit | 5b9822cf43f0e568fc42a0a60a7ed4d77e5e9832 (patch) | |
tree | 71e82f22ca8fd7c51c9ac1f95c6d999ae36515f9 /gnu/packages/patches/ecl-16-libffi.patch | |
parent | 71153712a2499d0425a709e9bc57dd3f917567ea (diff) | |
download | guix-5b9822cf43f0e568fc42a0a60a7ed4d77e5e9832.tar guix-5b9822cf43f0e568fc42a0a60a7ed4d77e5e9832.tar.gz |
gnu: Add ECL 16.1.3 for Sage.
* 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.
Diffstat (limited to 'gnu/packages/patches/ecl-16-libffi.patch')
-rw-r--r-- | gnu/packages/patches/ecl-16-libffi.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/patches/ecl-16-libffi.patch b/gnu/packages/patches/ecl-16-libffi.patch new file mode 100644 index 0000000000..fc06a07606 --- /dev/null +++ b/gnu/packages/patches/ecl-16-libffi.patch @@ -0,0 +1,16 @@ +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 + }; |