aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-01-06 20:51:47 -0800
committerAdam Vandenberg2013-01-06 20:51:47 -0800
commit4900ad83b973f0db32f8808193f2ec55ffd4f412 (patch)
tree336aa4ad490e2f85a005b1781bbada0211c9b2a6 /Library
parent6b08d71dc46d3303d3502b83379e205d88ba77f4 (diff)
downloadhomebrew-4900ad83b973f0db32f8808193f2ec55ffd4f412.tar.bz2
mpfr: work around upstream being down
Closes #12371. Closes #16932.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mpfr.rb7
1 files changed, 4 insertions, 3 deletions
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