From f48f40031136c2e394f171ae532b7d3ede0417c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Thu, 6 Jul 2017 09:32:25 +0200 Subject: [PATCH] pingus: fix build with gcc7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- ...header-for-std-function-and-std-bind.patch | 28 +++++++++++++++++++ recipes-games/pingus/pingus_0.7.6.bb | 3 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 recipes-games/pingus/pingus/0001-Add-missing-header-for-std-function-and-std-bind.patch diff --git a/recipes-games/pingus/pingus/0001-Add-missing-header-for-std-function-and-std-bind.patch b/recipes-games/pingus/pingus/0001-Add-missing-header-for-std-function-and-std-bind.patch new file mode 100644 index 0000000..20c6d50 --- /dev/null +++ b/recipes-games/pingus/pingus/0001-Add-missing-header-for-std-function-and-std-bind.patch @@ -0,0 +1,28 @@ +From df6e2f445d3e2925a94d22faeb17be9444513e92 Mon Sep 17 00:00:00 2001 +From: Jonathan Wakely +Date: Mon, 30 Jan 2017 15:41:53 +0000 +Subject: [PATCH] Add missing header for std::function and std::bind + + +Upstream-Status: Submitted [1] + +[1] https://github.com/Pingus/pingus/commit/df6e2f445d3e2925a94d22faeb17be9444513e92 +--- + src/pingus/screens/demo_session.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/pingus/screens/demo_session.cpp b/src/pingus/screens/demo_session.cpp +index e3ec49a..f887e50 100644 +--- a/src/pingus/screens/demo_session.cpp ++++ b/src/pingus/screens/demo_session.cpp +@@ -18,6 +18,7 @@ + + #include + #include ++#include + + #include "engine/gui/gui_manager.hpp" + #include "engine/gui/surface_button.hpp" +-- +2.9.4 + diff --git a/recipes-games/pingus/pingus_0.7.6.bb b/recipes-games/pingus/pingus_0.7.6.bb index bd52484..cd5b04e 100644 --- a/recipes-games/pingus/pingus_0.7.6.bb +++ b/recipes-games/pingus/pingus_0.7.6.bb @@ -4,12 +4,13 @@ LICENSE = "GPLv3+" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" HOMEPAGE = "http://pingus.seul.org/" -RDEPENDS_${PN} += "libmikmod guile bash" +RDEPENDS_${PN} += "libmikmod bash" inherit scons pythonnative SRC_URI = "\ https://github.com/Pingus/${PN}/archive/v${PV}.tar.gz \ + file://0001-Add-missing-header-for-std-function-and-std-bind.patch \ file://version.patch \ file://sdl_pkgconfig.patch \ file://pingus.desktop \