diff options
author | Michael Haubenwallner <haubi@gentoo.org> | 2020-03-16 18:20:03 +0100 |
---|---|---|
committer | Michael Haubenwallner <haubi@gentoo.org> | 2020-03-16 18:23:16 +0100 |
commit | f3cec249275ed4e00f1a9b465f44012a90dc6aff (patch) | |
tree | ae3719faccfc98c4d17c907195cf588bd426bdff /eclass/toolchain.eclass | |
parent | sys-devel/binutils: cleanup and avoid toolchain-binutils usage (diff) | |
download | prefix-f3cec249275ed4e00f1a9b465f44012a90dc6aff.tar.gz prefix-f3cec249275ed4e00f1a9b465f44012a90dc6aff.tar.bz2 prefix-f3cec249275ed4e00f1a9b465f44012a90dc6aff.zip |
toolchain.eclass: fix applying cygwinports patches
This commit in gentoo repo broke it (after sync into overlay):
commit bd758f25a82460f6e7011314f9fb7923864e9e1e
Author: Sergei Trofimovich <slyfox@gentoo.org>
Date: Sat Oct 19 13:54:48 2019 +0100
toolchain.eclass: isolate 'epatch' into 'tc_apply_patches'
Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r-- | eclass/toolchain.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 89a522f9cf..57c4177d70 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -666,7 +666,9 @@ do_gcc_CYGWINPORTS_patches() { local p d="${WORKDIR}/gcc-${CYGWINPORTS_GITREV}" # readarray -t is available since bash-4.4 only, #690686 - local patches=( $(sed -e '1,/PATCH_URI="/d;/"/,$d' < "${d}"/gcc.cygport) ) + local patches=( $(for p in $( + sed -e '1,/PATCH_URI="/d;/"/,$d' < "${d}"/gcc.cygport + ); do echo "${d}/${p}"; done) ) tc_apply_patches "Applying cygwin port patches ..." ${patches[*]} } |