diff options
Diffstat (limited to 'recipes-devtools/clang/clang/0009-clang-scan-view-needs-python-2.x.patch')
-rw-r--r-- | recipes-devtools/clang/clang/0009-clang-scan-view-needs-python-2.x.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-devtools/clang/clang/0009-clang-scan-view-needs-python-2.x.patch b/recipes-devtools/clang/clang/0009-clang-scan-view-needs-python-2.x.patch new file mode 100644 index 0000000..befbcdc --- /dev/null +++ b/recipes-devtools/clang/clang/0009-clang-scan-view-needs-python-2.x.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From c09c33bec431aa61f36e0ab94bd14c273c5262db Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 15 May 2018 10:28:43 -0700 | ||
4 | Subject: [PATCH 09/18] clang: scan-view needs python 2.x | ||
5 | |||
6 | Some distributions e.g. archlinux have switched to pointing | ||
7 | python to python3, therefore its better to be specific about | ||
8 | python version needed. | ||
9 | |||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
11 | --- | ||
12 | clang/tools/scan-view/bin/scan-view | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/clang/tools/scan-view/bin/scan-view b/clang/tools/scan-view/bin/scan-view | ||
16 | index 6165432e7af..04ad518a60c 100755 | ||
17 | --- a/clang/tools/scan-view/bin/scan-view | ||
18 | +++ b/clang/tools/scan-view/bin/scan-view | ||
19 | @@ -1,4 +1,4 @@ | ||
20 | -#!/usr/bin/env python | ||
21 | +#!/usr/bin/env python2 | ||
22 | |||
23 | from __future__ import print_function | ||
24 | |||
25 | -- | ||
26 | 2.20.1 | ||
27 | |||