aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ghc-bootstrap/bootstrap/gmpurl.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-02-10 11:54:21 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-02-10 11:54:21 +0000
commitc300e67286337679a0a3e732204fcedd5b41b424 (patch)
tree638d072fcd972566357c836cc376bcdc3e2a812f /testing/ghc-bootstrap/bootstrap/gmpurl.patch
parent972f99471c324a5d221030691344ed1f8f892972 (diff)
downloadaports-c300e67286337679a0a3e732204fcedd5b41b424.tar.bz2
aports-c300e67286337679a0a3e732204fcedd5b41b424.tar.xz
Revert "testing/ghc-bootstrap: simplify/unify aport"
Diffstat (limited to 'testing/ghc-bootstrap/bootstrap/gmpurl.patch')
-rw-r--r--testing/ghc-bootstrap/bootstrap/gmpurl.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/ghc-bootstrap/bootstrap/gmpurl.patch b/testing/ghc-bootstrap/bootstrap/gmpurl.patch
new file mode 100644
index 0000000000..c919fa3946
--- /dev/null
+++ b/testing/ghc-bootstrap/bootstrap/gmpurl.patch
@@ -0,0 +1,22 @@
+diff -r d72695b410e3 defs.sh
+--- a/defs.sh Sun Jul 26 15:38:58 2015 -0400
++++ b/defs.sh Sun Jan 31 23:18:18 2016 +0000
+@@ -221,7 +221,7 @@
+ gccprereqs() {
+ if [ ! -e gcc-$GCC_VERSION/gmp ]
+ then
+- fetchextract http://gmplib.org/download/gmp/ gmp-$GMP_VERSION .tar.bz2
++ fetchextract http://gmplib.org/download/gmp/archive/ gmp-$GMP_VERSION .tar.bz2
+ mv gmp-$GMP_VERSION gcc-$GCC_VERSION/gmp
+ fi
+
+--- a/extra/build-gcc-deps.sh Sun Jul 26 15:38:58 2015 -0400
++++ b/extra/build-gcc-deps.sh Sun Jan 31 23:18:18 2016 +0000
+@@ -28,7 +28,7 @@
+ PREFIX="$CC_PREFIX/$TRIPLE"
+
+ # GMP
+-fetchextract ftp://ftp.gmplib.org/pub/gmp-$GMP_VERSION/ gmp-$GMP_VERSION .tar.bz2
++fetchextract ftp://ftp.gmplib.org/pub/archive/gmp-$GMP_VERSION/ gmp-$GMP_VERSION .tar.bz2
+ cp -f "$MUSL_CC_BASE/extra/config.sub" gmp-$GMP_VERSION/configfsf.sub
+ buildinstall '' gmp-$GMP_VERSION --host="$TRIPLE" --enable-static --disable-shared