summaryrefslogtreecommitdiffstats
path: root/audio/clementine/functional-header.patch
diff options
context:
space:
mode:
Diffstat (limited to 'audio/clementine/functional-header.patch')
-rw-r--r--audio/clementine/functional-header.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/audio/clementine/functional-header.patch b/audio/clementine/functional-header.patch
new file mode 100644
index 0000000000..f41147d0ff
--- /dev/null
+++ b/audio/clementine/functional-header.patch
@@ -0,0 +1,48 @@
+From a2f7d018c7bdee96d4cefd5a1ec0c4f710fea226 Mon Sep 17 00:00:00 2001
+From: Morris <hafnermorris@gmail.com>
+Date: Sun, 12 Feb 2017 23:41:43 +0100
+Subject: [PATCH] Add missing <functional> includes
+
+---
+ src/core/mergedproxymodel.cpp | 1 +
+ src/devices/giolister.cpp | 1 +
+ src/library/groupbydialog.cpp | 2 ++
+ 3 files changed, 4 insertions(+)
+
+diff --git a/src/core/mergedproxymodel.cpp b/src/core/mergedproxymodel.cpp
+index 56217f6..8c210d3 100644
+--- a/src/core/mergedproxymodel.cpp
++++ b/src/core/mergedproxymodel.cpp
+@@ -23,6 +23,7 @@
+
+ #include <QStringList>
+
++#include <functional>
+ #include <limits>
+
+ // boost::multi_index still relies on these being in the global namespace.
+diff --git a/src/devices/giolister.cpp b/src/devices/giolister.cpp
+index aa3bddb..5f63ef2 100644
+--- a/src/devices/giolister.cpp
++++ b/src/devices/giolister.cpp
+@@ -17,6 +17,7 @@
+
+ #include "config.h"
+
++#include <functional>
+ #include <memory>
+
+ #include <QFile>
+diff --git a/src/library/groupbydialog.cpp b/src/library/groupbydialog.cpp
+index 5efdc9f..e5f711b 100644
+--- a/src/library/groupbydialog.cpp
++++ b/src/library/groupbydialog.cpp
+@@ -20,6 +20,8 @@
+
+ #include <QPushButton>
+
++#include <functional>
++
+ // boost::multi_index still relies on these being in the global namespace.
+ using std::placeholders::_1;
+ using std::placeholders::_2;