polyml: fix with new libffi

New libffi doesn't have FFI_SYSV for x86/64 unix, this pulls in the
commit for the upstream version which fixes it, and ports that patch to
the 5.7 version. The 5.6 version is unchanged.

For ZHF: #80379
This commit is contained in:
Kovacsics Robert
2020-03-02 09:13:12 +01:00
committed by Frederik Rietdijk
parent 9e8dea7986
commit f8c402ecad
3 changed files with 45 additions and 1 deletions
@@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
substituteInPlace configure.ac --replace stdc++ c++
'';
patches = [ ./5.7-new-libffi-FFI_SYSV.patch ];
buildInputs = [ libffi gmp ];
nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin autoreconfHook;