summaryrefslogtreecommitdiffstats
path: root/meta-uhmi/meta-rvgpu/recipes-graphics/mesa-virtio/files/0001-Enable-using-python3.patch
blob: 30be886aca5569a06cdc4f42d74c1949283de6f8 (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
28
29
From b5aedd7844195a3ddae70f02de503636097a8ddb Mon Sep 17 00:00:00 2001
From: Seimizu Joukan <joukan.seimizu@jp.panasonic.com>
Date: Fri, 20 Aug 2021 15:56:37 +0900
Subject: [PATCH] Enable using python3

Python2 is not supported anymore since Yocto dunfell, 
but mesa-18.2.0 depends on python2.

Upstream-Status: Inappropriate [embedded specific]
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 42e1582..8c591ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -124,7 +124,7 @@ AC_PROG_GREP
 AC_PROG_NM
 AM_PROG_AS
 AX_CHECK_GNU_MAKE
-AC_CHECK_PROGS([PYTHON2], [python2.7 python2 python])
+AC_CHECK_PROGS([PYTHON2], [python3 python2 python])
 AC_PROG_SED
 AC_PROG_MKDIR_P
 
-- 
2.17.1