aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2012-02-11 14:38:38 -0600
committerJack Nagel2012-02-11 14:38:38 -0600
commit54c01ff65a3ad307d1608fd6e3a94a38613b2b05 (patch)
tree3ee45dfc4ebb6c0872b1655ba7684930b6e50b9c /Library/Formula
parent87f30f9d13d742d0b8b2fcf2e7ca06b0697c1fff (diff)
downloadhomebrew-54c01ff65a3ad307d1608fd6e3a94a38613b2b05.tar.bz2
gmp 5.0.4
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gmp.rb44
1 files changed, 3 insertions, 41 deletions
diff --git a/Library/Formula/gmp.rb b/Library/Formula/gmp.rb
index bedb87f1c..35c7d7c72 100644
--- a/Library/Formula/gmp.rb
+++ b/Library/Formula/gmp.rb
@@ -1,10 +1,10 @@
require 'formula'
class Gmp < Formula
- url 'http://ftpmirror.gnu.org/gmp/gmp-5.0.2.tar.bz2'
- mirror 'http://ftp.gnu.org/gnu/gmp/gmp-5.0.2.tar.bz2'
homepage 'http://gmplib.org/'
- sha1 '2968220e1988eabb61f921d11e5d2db5431e0a35'
+ url 'http://ftpmirror.gnu.org/gmp/gmp-5.0.4.tar.bz2'
+ mirror 'http://ftp.gnu.org/gnu/gmp/gmp-5.0.4.tar.bz2'
+ sha1 'ea4ea7c3f10436ef5ae7a75b3fad163a8b86edc0'
def options
[
@@ -13,12 +13,6 @@ class Gmp < Formula
]
end
- # Fixes make check for xcode 4.2. See:
- # http://gmplib.org/list-archives/gmp-bugs/2011-July/002308.html
- def patches
- DATA if MacOS.xcode_version >= "4.2"
- end
-
def install
# Reports of problems using gcc 4.0 on Leopard
# https://github.com/mxcl/homebrew/issues/issue/2302
@@ -50,35 +44,3 @@ class Gmp < Formula
system "make check" unless ARGV.include? "--skip-check"
end
end
-
-__END__
-diff --git a/acinclude.m4 b/acinclude.m4
-index 699dd7b..87b5f6f 100644
---- a/acinclude.m4
-+++ b/acinclude.m4
-@@ -1941,8 +1941,8 @@ X86_PATTERN | x86_64-*-*)
- esac
-
- cat >conftest.c <<EOF
--extern const int foo[]; /* Suppresses C++'s suppression of foo */
--const int foo[] = {1,2,3};
-+extern const int foo[[]]; /* Suppresses C++'s suppression of foo */
-+const int foo[[]] = {1,2,3};
- EOF
- echo "Test program:" >&AC_FD_CC
- cat conftest.c >&AC_FD_CC
-diff --git a/configure b/configure
-index 07b9fda..f6df8cd 100755
---- a/configure
-+++ b/configure
-@@ -26446,8 +26446,8 @@ i?86*-*-* | k[5-8]*-*-* | pentium*-*-* | athlon-*-* | viac3*-*-* | geode*-*-* |
- esac
-
- cat >conftest.c <<EOF
--extern const int foo; /* Suppresses C++'s suppression of foo */
--const int foo = {1,2,3};
-+extern const int foo[]; /* Suppresses C++'s suppression of foo */
-+const int foo[] = {1,2,3};
- EOF
- echo "Test program:" >&5
- cat conftest.c >&5