summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/clang/clang/0009-clang-scan-view-needs-python-2.x.patch
blob: befbcdc45066e01105c81f1cc2c2e8dad9877d14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From c09c33bec431aa61f36e0ab94bd14c273c5262db Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 15 May 2018 10:28:43 -0700
Subject: [PATCH 09/18] clang: scan-view needs python 2.x

Some distributions e.g. archlinux have switched to pointing
python to python3, therefore its better to be specific about
python version needed.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 clang/tools/scan-view/bin/scan-view | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/tools/scan-view/bin/scan-view b/clang/tools/scan-view/bin/scan-view
index 6165432e7af..04ad518a60c 100755
--- a/clang/tools/scan-view/bin/scan-view
+++ b/clang/tools/scan-view/bin/scan-view
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 from __future__ import print_function
 
-- 
2.20.1