mirror of
https://github.com/cazfi/meta-games.git
synced 2026-09-12 12:49:31 +02:00
pingus: fix build with gcc7
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user