summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2020-03-16 18:26:33 +0100
committerMichael Haubenwallner <haubi@gentoo.org>2020-03-17 08:49:05 +0100
commitc2ce1cf7b9265d985d533c162edc2365a5e431ab (patch)
tree3c2ccd26e0303c3f832869f0d8710f88c356654f /eclass/toolchain.eclass
parentprofiles: remove mask for dev-python/sphinxcontrib-programoutput (diff)
downloadgentoo-c2ce1cf7b9265d985d533c162edc2365a5e431ab.tar.gz
gentoo-c2ce1cf7b9265d985d533c162edc2365a5e431ab.tar.bz2
gentoo-c2ce1cf7b9265d985d533c162edc2365a5e431ab.zip
toolchain.eclass: fix cygwinports patching
Introduction of tc_apply_patches dropped patch dir, per commit bd758f25a82460f6e7011314f9fb7923864e9e1e Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 9f4359219225..7135af0817d9 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -646,7 +646,13 @@ 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[*]}
}