Files
poky/meta/recipes-graphics/mesa/files/Use-Python-3-to-execute-the-scripts.patch
Otavio Salvador b38f910e1c mesa: Upgrade to 17.3.1 release
The 17.3.1 release, published in December 21, 2017, is the first 17.3
stable release for use. It fixes a number of issues since 17.3.0
release.

The release notes can be seen at:

 - 17.3.0: https://www.mesa3d.org/relnotes/17.3.0.html
 - 17.3.1: https://www.mesa3d.org/relnotes/17.3.1.html

This commit has reworked few patches, to apply to the new source, and
dropped the backported ones.

(From OE-Core rev: 75ec119eabb625509121a329b8d0f9c3cf20e0aa)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-03 09:26:37 +00:00

33 lines
895 B
Diff

From 18c3e684a8259a0644214f88c7ead7fa31573fd9 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] 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 b107f04c2e..055546142d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -114,7 +114,7 @@ AC_PROG_CXX
AM_PROG_CC_C_O
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.15.1