maksbotan    14/04/18 17:22:50

  Added:                clementine-1.2.2-gcc49.patch
  Log:
  Add patch for building with >=gcc-4.9, bug #507484. Thanks to Ryan Hill 
<[email protected]>.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
F8DBDADE)

Revision  Changes    Path
1.1                  media-sound/clementine/files/clementine-1.2.2-gcc49.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/clementine/files/clementine-1.2.2-gcc49.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/clementine/files/clementine-1.2.2-gcc49.patch?rev=1.1&content-type=text/plain

Index: clementine-1.2.2-gcc49.patch
===================================================================
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;




Reply via email to