diff --git a/recipes-games/pingus/pingus/0003-SConscript-Fix-for-python3.patch b/recipes-games/pingus/pingus/0003-SConscript-Fix-for-python3.patch new file mode 100644 index 0000000..32d969a --- /dev/null +++ b/recipes-games/pingus/pingus/0003-SConscript-Fix-for-python3.patch @@ -0,0 +1,39 @@ +From 35d6a3026b7696384f5c84ec07354dd44e43c428 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Thu, 20 Jun 2019 21:41:12 +0200 +Subject: [PATCH] SConscript: Fix for python3 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Pending + +Signed-off-by: Andreas Müller +--- + SConscript | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/SConscript b/SConscript +index cd80dafaf..a01374d72 100644 +--- a/SConscript ++++ b/SConscript +@@ -126,12 +126,12 @@ class Project: + def configure_end(self): + self.env = self.conf.Finish() + +- print "Reports:" +- print self.reports ++ print("Reports:") ++ print(self.reports) + + if not self.fatal_error == "": +- print "Fatal Errors:" +- print self.fatal_error ++ print("Fatal Errors:") ++ print(self.fatal_error) + Exit(1) + + def configure_gxx(self): +-- +2.21.0 + diff --git a/recipes-games/pingus/pingus_0.7.6.bb b/recipes-games/pingus/pingus_0.7.6.bb index ae442ed..41b3e45 100644 --- a/recipes-games/pingus/pingus_0.7.6.bb +++ b/recipes-games/pingus/pingus_0.7.6.bb @@ -12,6 +12,7 @@ SRC_URI = "\ git://github.com/Pingus/pingus.git \ file://0001-Add-missing-header-for-std-function-and-std-bind.patch \ file://0002-Fix-build-with-boost-1.69.0.patch \ + file://0003-SConscript-Fix-for-python3.patch \ file://version.patch \ file://sdl_pkgconfig.patch \ file://pingus.desktop \