3
0
Fork 0
forked from mirrors/nixpkgs

libffi: Revert to 3.0.9.

Version 3.0.10 fails to build on x86_64-freebsd8.2.  Reported on
libffi-discuss@sourceware.org.

svn path=/nixpkgs/trunk/; revision=31601
This commit is contained in:
Ludovic Courtès 2012-01-16 23:36:05 +00:00
parent 92703a6d9e
commit 4cbd319ce3

View file

@ -1,15 +1,20 @@
{ fetchurl, stdenv }:
stdenv.mkDerivation (rec {
name = "libffi-3.0.10";
name = "libffi-3.0.9";
src = fetchurl {
url = "ftp://sourceware.org/pub/libffi/${name}.tar.gz";
sha256 = "0bs97dgvqrbzc9zv9y2ff5flfvbmfyc68dpnxvm6mdcygq1bj7ph";
sha256 = "0ln4jbpb6clcsdpb9niqk0frgx4k0xki96wiv067ig0q4cajb7aq";
};
doCheck = true;
postInstall =
# Install headers in the right place.
'' ln -sv "$out/lib/"libffi*/include "$out/include"
'';
meta = {
description = "libffi, a foreign function call interface library";