pingus: fix build with gcc7

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2017-07-06 09:32:25 +02:00
parent 15e1cfcd10
commit f48f400311
2 changed files with 30 additions and 1 deletions

View File

@@ -0,0 +1,28 @@
From df6e2f445d3e2925a94d22faeb17be9444513e92 Mon Sep 17 00:00:00 2001
From: Jonathan Wakely <jwakely@redhat.com>
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 <algorithm>
#include <iostream>
+#include <functional>
#include "engine/gui/gui_manager.hpp"
#include "engine/gui/surface_button.hpp"
--
2.9.4

View File

@@ -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 \