From 954d2f555a1d2fd782b6abcacf4be11cf27c3f11 Mon Sep 17 00:00:00 2001
From: Donald Buczek <buczek@molgen.mpg.de>
Date: Thu, 5 Oct 2017 14:00:12 +0200
Subject: [PATCH] gcc: Update version from 5.3 to 5.4 (latest)

List of problems fixed in this release:

<https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=5.4>

We had some problems compiling the 5.4.0 release [1] with
glibc 2.23, so use latest revision on the 5.4 branch, where
all these problemes were already fixed.

[1] https://github.molgen.mpg.de/mariux64/bee-files/pull/502
---
 gcc.be0 | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gcc.be0 b/gcc.be0
index 741953554..483c623e7 100755
--- a/gcc.be0
+++ b/gcc.be0
@@ -1,8 +1,13 @@
 #!/bin/env beesh
 
-# BEE_VERSION gcc-5.3.0-0
-
-SRCURL[0]="https://ftp.gnu.org/gnu/gcc/gcc-${PKGVERSION}/gcc-${PKGVERSION}.tar.bz2"
+# BEE_VERSION gcc-5.4.0-0
+
+# we had some problems with the 5.4 release against glibc 2.26
+# which are already fixed on the gcc-5 branch
+#
+# bee download -c gcc-5-branch https://gcc.gnu.org/git/gcc.git
+#
+SRCURL[0]="/src/mariux/download/gcc-5.4.0_release_p1052_5de58e00a7b.tar.bz2"
 
 LIBEXECDIR=/usr/lib
 LIBDIR=/usr/lib