mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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[*]}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user