libffi 3.0.11

Upgrade libffi to version 3.0.11.  It passes make check when
built with any compiler from XCode-4.3.2 and 4.0.2.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
nibbles 2bits 2012-04-13 02:20:12 -07:00 committed by Adam Vandenberg
parent 07c2a87420
commit d723ea5f09

View file

@ -1,19 +1,13 @@
require 'formula'
class Libffi < Formula
url 'http://mirrors.kernel.org/sources.redhat.com/libffi/libffi-3.0.10.tar.gz'
mirror 'ftp://sourceware.org/pub/libffi/libffi-3.0.10.tar.gz'
homepage 'http://sourceware.org/libffi/'
sha1 '97abf70e6a6d315d9259d58ac463663051d471e1'
url 'http://mirrors.kernel.org/sources.redhat.com/libffi/libffi-3.0.11.tar.gz'
mirror 'ftp://sourceware.org/pub/libffi/libffi-3.0.11.tar.gz'
sha1 'bff6a6c886f90ad5e30dee0b46676e8e0297d81d'
keg_only :provided_by_osx, "Some formulae require a newer version of libffi."
def patches
# both of these are fixed upstream
{ :p0 => ["https://trac.macports.org/export/88691/trunk/dports/devel/libffi/files/patch-configure.diff",
"https://trac.macports.org/export/88691/trunk/dports/devel/libffi/files/patch-configure-darwin11.diff"] }
end
def install
ENV.universal_binary
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"