libffi: Add aarch64 patch

This fixes pythonPackages.cffi test suite failure.
This commit is contained in:
Tuomas Tynkkynen 2017-09-15 23:55:50 +03:00
parent c8e7aab0c8
commit 65445212df

View File

@ -10,7 +10,11 @@ stdenv.mkDerivation rec {
sha256 = "0dya49bnhianl0r65m65xndz6ls2jn1xngyn72gd28ls3n7bnvnh";
};
patches = stdenv.lib.optional stdenv.isCygwin ./3.2.1-cygwin.patch;
patches = stdenv.lib.optional stdenv.isCygwin ./3.2.1-cygwin.patch ++
stdenv.lib.optional stdenv.isAarch64 (fetchurl {
url = https://src.fedoraproject.org/rpms/libffi/raw/ccffc1700abfadb0969495a6e51b964117fc03f6/f/libffi-aarch64-rhbz1174037.patch;
sha256 = "1vpirrgny43hp0885rswgv3xski8hg7791vskpbg3wdjdpb20wbc";
});
outputs = [ "out" "dev" "man" "info" ];