Skip to contentSkip to conversation

glmark2: no need to patch waf

PATCH New Ross Burton 1 participant 1 message Oct 8, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glmark2: no need to patch waf

Now that waf.bbclass in oe-core uses Python 3 explictly we don't need to patch glmark.

---
 .../recipes-benchmark/glmark2/glmark2/python3.patch  | 12 ------------
 meta-oe/recipes-benchmark/glmark2/glmark2_git.bb     |  3 +--
 2 files changed, 1 insertion(+), 14 deletions(-)
 delete mode 100644 meta-oe/recipes-benchmark/glmark2/glmark2/python3.patch
meta-oe/recipes-benchmark/glmark2/glmark2/python3.patch deleted +0 -12
deleted file mode 100644
index df208cf87..000000000
@@ -1,12 +0,0 @@
-Use Python 3 instead of Python 2.
-
-Upstream-Status: Pending
-Signed-off-by: Ross Burton <[email protected]>
-
-diff --git a/waf b/waf
-index 6ce2a24..de3c898 100755
---- a/waf
-+++ b/waf
-@@ -1 +1 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
meta-oe/recipes-benchmark/glmark2/glmark2_git.bb +1 -2
index 82821ad63..2e727a01c 100644
@@ -14,8 +14,7 @@ PV = "20191226+${SRCPV}"
 
 COMPATIBLE_HOST_rpi  = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '.*-linux*', 'null', d)}"
 
-SRC_URI = "git://github.com/glmark2/glmark2.git;protocol=https \
-           file://python3.patch"
+SRC_URI = "git://github.com/glmark2/glmark2.git;protocol=https"
 SRCREV = "72dabc5d72b49c6d45badeb8a941ba4d829b0bd6"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.28.0