python/hypothesis: update to 6.122.3
[oi-userland.git] / components / developer / gcc-12 / patches / 0021-Address-fixincludes-failure.patch
blobfac79b5e3a936cf2599d1183178d78c533e3a850
1 From 236d99808ca20d7897618efd45e5a3218d32b2d4 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 0bd8027a554..0ca234fcb99 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|[^/]*//*||'`