summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/clang/clang/0015-clang-scan-view-needs-python-2.x.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/clang/clang/0015-clang-scan-view-needs-python-2.x.patch')
-rw-r--r--recipes-devtools/clang/clang/0015-clang-scan-view-needs-python-2.x.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-devtools/clang/clang/0015-clang-scan-view-needs-python-2.x.patch b/recipes-devtools/clang/clang/0015-clang-scan-view-needs-python-2.x.patch
new file mode 100644
index 0000000..f5b3f1c
--- /dev/null
+++ b/recipes-devtools/clang/clang/0015-clang-scan-view-needs-python-2.x.patch
@@ -0,0 +1,24 @@
1From cd53f8bef787fc6c3790db8d31f93916eae7be71 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 15 May 2018 10:28:43 -0700
4Subject: [PATCH] clang: scan-view needs python 2.x
5
6Some distributions e.g. archlinux have switched to pointing
7python to python3, therefore its better to be specific about
8python version needed.
9
10Signed-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
15diff --git a/clang/tools/scan-view/bin/scan-view b/clang/tools/scan-view/bin/scan-view
16index 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