From 4900ad83b973f0db32f8808193f2ec55ffd4f412 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 6 Jan 2013 20:51:47 -0800 Subject: mpfr: work around upstream being down Closes #12371. Closes #16932. --- Library/Formula/mpfr.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/mpfr.rb b/Library/Formula/mpfr.rb index ae54b3e29..df0462cbb 100644 --- a/Library/Formula/mpfr.rb +++ b/Library/Formula/mpfr.rb @@ -2,9 +2,10 @@ require 'formula' class Mpfr < Formula homepage 'http://www.mpfr.org/' - url 'http://www.mpfr.org/mpfr-3.1.1/mpfr-3.1.1.tar.bz2' + # Upstream is down a lot, so use the GNU mirror + Gist for patches + url 'http://ftp.gnu.org/gnu/mpfr/mpfr-3.1.1.tar.bz2' version '3.1.1-p2' - sha256 '7b66c3f13dc8385f08264c805853f3e1a8eedab8071d582f3e661971c9acd5fd' + sha1 'f632d43943ff9f13c184fa13b9a6e8c7f420f4dd' depends_on 'gmp' @@ -15,7 +16,7 @@ class Mpfr < Formula env :std def patches - "http://www.mpfr.org/mpfr-current/allpatches" + "https://gist.github.com/raw/4472199/42c0b207037a133527083d12adc9028b4da429ee/gistfile1.txt" end def install -- cgit v1.2.3