toolchain.eclass: fix cygwinports patching

Introduction of tc_apply_patches dropped patch dir, per
commit bd758f25a8

Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
This commit is contained in:
Michael Haubenwallner
2020-03-16 18:26:33 +01:00
parent 437ad4be1c
commit c2ce1cf7b9

View File

@@ -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[*]}
}