From 6a44f74ff8c874a6a0139cefbe0d6e0da1bba659 Mon Sep 17 00:00:00 2001
From: belliash <belliash@codingworkshop.eu.org>
Date: Sun, 16 Aug 2020 19:58:49 +0200
Subject: [PATCH] Rename GCC patchdir.

---
 build-linux.sh                                                  | 2 +-
 patches/gcc/{gcc-9.3.0 => 9.3.0}/001-make-gcc-relocatable.patch | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename patches/gcc/{gcc-9.3.0 => 9.3.0}/001-make-gcc-relocatable.patch (100%)

diff --git a/build-linux.sh b/build-linux.sh
index 368438d..4c8d943 100755
--- a/build-linux.sh
+++ b/build-linux.sh
@@ -177,7 +177,7 @@ gcc_fetch()
         git clone ${GCCVCS} ${GCCDIR}
         cd ${GCCDIR}
         git checkout tags/${GCCTAG}
-        apply_patches ${GCCDIR##*/} ${GCCTAG##*/}
+        apply_patches ${GCCDIR##*/} ${GCCTAG##*-}
         ./contrib/download_prerequisites
         cd ${WRKDIR}
     fi
diff --git a/patches/gcc/gcc-9.3.0/001-make-gcc-relocatable.patch b/patches/gcc/9.3.0/001-make-gcc-relocatable.patch
similarity index 100%
rename from patches/gcc/gcc-9.3.0/001-make-gcc-relocatable.patch
rename to patches/gcc/9.3.0/001-make-gcc-relocatable.patch