python/hypothesis: update to 6.122.3
[oi-userland.git] / components / developer / gcc-13 / patches / 0020-Address-fixincludes-failure.patch
blob4d0c40a697f4ee570f7262d15da2528ad3706b9c
1 From af5b58e8e0cbb16d5f7106fc7daadb58b8190e7f Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Aur=C3=A9lien=20Larcher?= <aurelien.larcher@gmail.com>
3 Date: Thu, 25 Oct 2018 20:54:55 +0200
4 Subject: Address fixincludes failure
6 ---
7 fixincludes/fixinc.in | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
10 diff --git a/fixincludes/fixinc.in b/fixincludes/fixinc.in
11 index 0bd8027a5549..0ca234fcb994 100755
12 --- a/fixincludes/fixinc.in
13 +++ b/fixincludes/fixinc.in
14 @@ -212,7 +212,7 @@ search_dirs=""
16 while [ -n "$dirs" ] && [ $levels -gt 0 ]
18 - levels=`expr $levels - 1`
19 + levels=`expr $levels - 1; true`
20 newdirs=
21 for d in $dirs
23 @@ -340,7 +340,7 @@ if $LINKS; then
24 cd $LIB
25 while [ x$dirname != x ]; do
26 component=`echo $dirname | sed -e 's|/.*$||'`
27 - mkdir $component >/dev/null 2>&1
28 + mkdir -p $component >/dev/null 2>&1
29 cd $component
30 dirmade=$dirmade/$component
31 dirname=`echo $dirname | sed -e 's|[^/]*//*||'`