From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- .../0015-clang-scan-view-needs-python-2.x.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 external/meta-clang/recipes-devtools/clang/clang/0015-clang-scan-view-needs-python-2.x.patch (limited to 'external/meta-clang/recipes-devtools/clang/clang/0015-clang-scan-view-needs-python-2.x.patch') diff --git a/external/meta-clang/recipes-devtools/clang/clang/0015-clang-scan-view-needs-python-2.x.patch b/external/meta-clang/recipes-devtools/clang/clang/0015-clang-scan-view-needs-python-2.x.patch new file mode 100644 index 00000000..7b762f17 --- /dev/null +++ b/external/meta-clang/recipes-devtools/clang/clang/0015-clang-scan-view-needs-python-2.x.patch @@ -0,0 +1,24 @@ +From 0f969665b80310b90bcb304b2e60c4493687c5a6 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 15 May 2018 10:28:43 -0700 +Subject: [PATCH] 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 +--- + 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 + -- cgit 1.2.3-korg