summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2014-04-18 17:22:50 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2014-04-18 17:22:50 +0000
commit97c5cffe9854d47f508bb4c09cea59ef46a37068 (patch)
tree47465dd557b6d3b5f7b1e1b330396878d4ab2176 /media-sound/clementine/files
parentFix segfault when being built without nethack support (bug #507916) (diff)
downloadgentoo-2-97c5cffe9854d47f508bb4c09cea59ef46a37068.tar.gz
gentoo-2-97c5cffe9854d47f508bb4c09cea59ef46a37068.tar.bz2
gentoo-2-97c5cffe9854d47f508bb4c09cea59ef46a37068.zip
Add patch for building with >=gcc-4.9, bug #507484. Thanks to Ryan Hill <rhill@gentoo.org>.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
Diffstat (limited to 'media-sound/clementine/files')
-rw-r--r--media-sound/clementine/files/clementine-1.2.2-gcc49.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/media-sound/clementine/files/clementine-1.2.2-gcc49.patch b/media-sound/clementine/files/clementine-1.2.2-gcc49.patch
new file mode 100644
index 000000000000..119298787a55
--- /dev/null
+++ b/media-sound/clementine/files/clementine-1.2.2-gcc49.patch
@@ -0,0 +1,17 @@
+In file included from ../../Clementine-1.2.2/src/core/mergedproxymodel.cpp:18:0:
+../../Clementine-1.2.2/src/core/mergedproxymodel.h:23:12: error: 'std::placeholders' has not been declared
+ using std::placeholders::_1;
+../../Clementine-1.2.2/src/core/mergedproxymodel.h:24:12: error: 'std::placeholders' has not been declared
+ using std::placeholders::_2;
+
+
+--- a/src/core/mergedproxymodel.h
++++ b/src/core/mergedproxymodel.h
+@@ -19,6 +19,7 @@
+ #define MERGEDPROXYMODEL_H
+
+ #include <QAbstractProxyModel>
++#include <functional>
+
+ using std::placeholders::_1;
+ using std::placeholders::_2;