aboutsummaryrefslogtreecommitdiff
path: root/games/pingus/patches/missing-header.patch
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-10-16 11:16:35 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-18 07:50:31 +0700
commit282936bfd1ae6f0c306c347e4c43b51344e60972 (patch)
tree1e9f3881c3922c9d023e6df1668d00c71951f44f /games/pingus/patches/missing-header.patch
parent0adceb1a2733cb577a5783af1317fb4d48f5fd0c (diff)
games/pingus: Fix building on -current
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/pingus/patches/missing-header.patch')
-rw-r--r--games/pingus/patches/missing-header.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/games/pingus/patches/missing-header.patch b/games/pingus/patches/missing-header.patch
new file mode 100644
index 000000000000..cc1dcdbb85ce
--- /dev/null
+++ b/games/pingus/patches/missing-header.patch
@@ -0,0 +1,22 @@
+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
+
+---
+ 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 e3ec49a2c..f887e50f0 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"
+