From 726d35f975f7efec4671b532a1452518038c3bbb Mon Sep 17 00:00:00 2001 From: Travis Geiselbrecht Date: Sat, 27 Sep 2014 10:56:26 -0700 Subject: [PATCH] [doit] starting with gdb 7.8 the binutils ftp site only carries .gz and .xz switch to .xz for gdb --- doit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doit b/doit index b2894da..454e4ec 100755 --- a/doit +++ b/doit @@ -44,8 +44,8 @@ if [ "$FETCH" = "1" ]; then if [ ! -f gcc-$GCCVER.tar.bz2 ]; then wget -P $ARCHIVES -N $GNU_FTP/gcc/gcc-$GCCVER/gcc-$GCCVER.tar.bz2 fi - if [ ! -f gdb-$GDBVER.tar.bz2 ]; then - wget -P $ARCHIVES -N $GNU_FTP/gdb/gdb-$GDBVER.tar.bz2 + if [ ! -f gdb-$GDBVER.tar.xz ]; then + wget -P $ARCHIVES -N $GNU_FTP/gdb/gdb-$GDBVER.tar.xz fi if [ ! -f mpfr-$MPFRVER.tar.bz2 ]; then wget -P $ARCHIVES -N $GNU_FTP/mpfr/mpfr-$MPFRVER.tar.bz2 @@ -88,7 +88,7 @@ function extract-tool() if [ ! -f .extracted-stamp ]; then extract-tool binutils $BINVER .bz2 binutils-patch.txt extract-tool gcc $GCCVER .bz2 gcc-patch.txt - extract-tool gdb $GDBVER .bz2 gdb-patch.txt + extract-tool gdb $GDBVER .xz gdb-patch.txt extract-tool gmp $GMPVER .bz2 extract-tool mpc $MPCVER .gz extract-tool mpfr $MPFRVER .bz2 -- 2.11.4.GIT