diff --git a/recipes-graphics/ntk/files/0002-Fix-build-for-python3-only-environments.patch b/recipes-graphics/ntk/files/0002-Fix-build-for-python3-only-environments.patch new file mode 100644 index 0000000..9e88b9b --- /dev/null +++ b/recipes-graphics/ntk/files/0002-Fix-build-for-python3-only-environments.patch @@ -0,0 +1,28 @@ +From 7637d0c9c836831eb23af2d72dd8195c65b0aca0 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Mon, 9 Dec 2019 19:25:10 +0100 +Subject: [PATCH] Fix build for python3-only environments +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Pending + +Signed-off-by: Andreas Müller +--- + waf | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/waf b/waf +index 061fb98..3208571 100755 +--- a/waf ++++ b/waf +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # encoding: latin-1 + # Thomas Nagy, 2005-2018 + # +-- +2.21.0 + diff --git a/recipes-graphics/ntk/ntk_git.bb b/recipes-graphics/ntk/ntk_git.bb index ceba5b5..26d5a93 100644 --- a/recipes-graphics/ntk/ntk_git.bb +++ b/recipes-graphics/ntk/ntk_git.bb @@ -6,11 +6,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f6b26344a24a941a01a5b0826e80b5ca" SRC_URI = " \ git://github.com/original-male/${BPN}.git \ file://0001-wscript-check-compile-instead-of-tun-check-datatype-.patch \ + file://0002-Fix-build-for-python3-only-environments.patch \ " -SRCREV = "1e3f5106d404562902bed2983403301db24a3f78" +SRCREV = "dae177189b12f74ea01ac2389b76326c06d9be78" S = "${WORKDIR}/git" PV_LAST_RELEASE = "1.3.1000" -PV = "${PV_LAST_RELEASE}" +PV = "${PV_LAST_RELEASE}+git${SRCPV}" inherit waf pkgconfig