aboutsummaryrefslogtreecommitdiff
path: root/resources/libreboot/patch/crossgcc/libelf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libreboot/patch/crossgcc/libelf.patch')
-rw-r--r--resources/libreboot/patch/crossgcc/libelf.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/resources/libreboot/patch/crossgcc/libelf.patch b/resources/libreboot/patch/crossgcc/libelf.patch
new file mode 100644
index 00000000..af954446
--- /dev/null
+++ b/resources/libreboot/patch/crossgcc/libelf.patch
@@ -0,0 +1,25 @@
+From e2896721cff5af4d869a7c900e748c803f25a2ce Mon Sep 17 00:00:00 2001
+From: Andrew Robbins <contact@andrewrobbins.info>
+Date: Thu, 26 Sep 2019 18:19:07 -0500
+Subject: [PATCH] buildgcc: Replace dead libelf archive URI
+
+---
+ util/crossgcc/buildgcc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
+index 97c38b8d95..54f87972e6 100755
+--- a/util/crossgcc/buildgcc
++++ b/util/crossgcc/buildgcc
+@@ -57,7 +57,7 @@ MAKE_VERSION=4.2.1
+ GMP_ARCHIVE="http://ftpmirror.gnu.org/gmp/gmp-${GMP_VERSION}.tar.xz"
+ MPFR_ARCHIVE="http://ftpmirror.gnu.org/mpfr/mpfr-${MPFR_VERSION}.tar.xz"
+ MPC_ARCHIVE="http://ftpmirror.gnu.org/mpc/mpc-${MPC_VERSION}.tar.gz"
+-LIBELF_ARCHIVE="http://www.mr511.de/software/libelf-${LIBELF_VERSION}.tar.gz"
++LIBELF_ARCHIVE="https://fossies.org/linux/misc/old/libelf-${LIBELF_VERSION}.tar.gz"
+ GCC_ARCHIVE="http://ftpmirror.gnu.org/gcc/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.bz2"
+ BINUTILS_ARCHIVE="http://ftpmirror.gnu.org/binutils/binutils-${BINUTILS_VERSION}.tar.bz2"
+ GDB_ARCHIVE="http://ftpmirror.gnu.org/gdb/gdb-${GDB_VERSION}.tar.xz"
+--
+2.23.0
+