Gentoo Archives: gentoo-desktop

From: Alex Efros <powerman@××××××××.name>
To: gentoo-desktop@l.g.o
Subject: [gentoo-desktop] [PATCH] amarok-1.4.10_p20090130-r4 fail to compile
Date: Tue, 27 Sep 2011 15:04:36
Message-Id: 20110927150403.GI4290@home.power
1 Hi!
2
3 Error from build log:
4
5 ---cut---
6 In file included from amarokdcophandler.cpp:36:0:
7 ../../../amarok/src/osd.h: At global scope:
8 ../../../amarok/src/osd.h:40:74: error: cannot call constructor 'QImage::QImage' directly
9 ../../../amarok/src/osd.h:40:74: error: for a function-style cast, remove the redundant '::QImage'
10 ---cut---
11
12 Patch (duplicated in attach):
13
14 ---cut---
15 --- amarok/src/osd.h.orig 2011-09-27 17:47:26.000000000 +0300
16 +++ amarok/src/osd.h 2011-09-27 17:47:43.000000000 +0300
17 @@ -37,7 +37,7 @@
18
19 public slots:
20 /** calls setText() then show(), after setting image if needed */
21 - void show( const QString &text, QImage newImage = QImage::QImage() );
22 + void show( const QString &text, QImage newImage = QImage() );
23 void ratingChanged( const short rating );
24 void ratingChanged( const QString& path, int rating );
25 void volChanged( unsigned char volume );
26 ---cut---
27
28 I noticed this issue when re-emerging @world after upgrading gcc 4.4.5 to
29 4.5.3, but probably this issue have nothing with gcc and related to some
30 previous qt upgrade, so I named patch file amarok-qt3-4.7.patch but I'm
31 not sure this is correct name.
32
33 --
34 WBR, Alex.

Attachments

File name MIME type
amarok-qt3-4.7.patch application/x-patch
amarok-1.4.10_p20090130-r4.ebuild.patch application/x-patch