poky/meta/recipes-graphics/mesa/files/0006-Use-Python-3-to-execute-the-scripts.patch
Otavio Salvador 9018bea0d1 mesa: Upgrade 18.1.2 -> 18.1.3
This upgrades mesa to the 18.1.3 stable release.

The changes can be found at:

https://www.mesa3d.org/relnotes/18.1.3.html

(From OE-Core rev: 4acdeb1529f5355b2849556e9f4ef302e35d3b0c)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-02 21:37:47 +01:00

33 lines
898 B
Diff

From 66b512e72e164a0da13c1cfffe988188cc2b4988 Mon Sep 17 00:00:00 2001
From: Otavio Salvador <otavio@ossystems.com.br>
Date: Fri, 29 Dec 2017 10:27:59 -0200
Subject: [PATCH 6/8] Use Python 3 to execute the scripts
Organization: O.S. Systems Software LTDA.
The MESA build system uses Python 2 but as OE-Core has moved away from
it, we change it to use Python 3 instead.
Upstream-Status: Inappropriate [ configuration ]
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 59226823ca..711cb8b82c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -122,7 +122,7 @@ AM_PROG_CC_C_O
AC_PROG_NM
AM_PROG_AS
AX_CHECK_GNU_MAKE
-AC_CHECK_PROGS([PYTHON2], [python2.7 python2 python])
+AC_CHECK_PROGS([PYTHON2], [python3.5 python3 python])
AC_PROG_SED
AC_PROG_MKDIR_P
--
2.18.0