1 |
From: Michael Haubenwallner <haubi@g.o> |
2 |
|
3 |
Introduction of tc_apply_patches dropped patch dir, per |
4 |
commit bd758f25a82460f6e7011314f9fb7923864e9e1e |
5 |
|
6 |
Signed-off-by: Michael Haubenwallner <haubi@g.o> |
7 |
--- |
8 |
eclass/toolchain.eclass | 8 +++++++- |
9 |
1 file changed, 7 insertions(+), 1 deletion(-) |
10 |
|
11 |
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass |
12 |
index 9f435921922..7135af0817d 100644 |
13 |
--- a/eclass/toolchain.eclass |
14 |
+++ b/eclass/toolchain.eclass |
15 |
@@ -646,7 +646,13 @@ do_gcc_CYGWINPORTS_patches() { |
16 |
|
17 |
local p d="${WORKDIR}/gcc-${CYGWINPORTS_GITREV}" |
18 |
# readarray -t is available since bash-4.4 only, #690686 |
19 |
- local patches=( $(sed -e '1,/PATCH_URI="/d;/"/,$d' < "${d}"/gcc.cygport) ) |
20 |
+ local patches=( $( |
21 |
+ for p in $( |
22 |
+ sed -e '1,/PATCH_URI="/d;/"/,$d' < "${d}"/gcc.cygport |
23 |
+ ); do |
24 |
+ echo "${d}/${p}" |
25 |
+ done |
26 |
+ ) ) |
27 |
tc_apply_patches "Applying cygwin port patches ..." ${patches[*]} |
28 |
} |
29 |
|
30 |
-- |
31 |
2.24.1 |