public inbox for gentoo-desktop@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-desktop] [PATCH] amarok-1.4.10_p20090130-r4 fail to compile
@ 2011-09-27 15:04 Alex Efros
  0 siblings, 0 replies; only message in thread
From: Alex Efros @ 2011-09-27 15:04 UTC (permalink / raw
  To: gentoo-desktop

[-- Attachment #1: Type: text/plain, Size: 1214 bytes --]

Hi!

Error from build log:

---cut---
In file included from amarokdcophandler.cpp:36:0:
../../../amarok/src/osd.h: At global scope:
../../../amarok/src/osd.h:40:74: error: cannot call constructor 'QImage::QImage' directly
../../../amarok/src/osd.h:40:74: error:   for a function-style cast, remove the redundant '::QImage'
---cut---

Patch (duplicated in attach):

---cut---
--- amarok/src/osd.h.orig       2011-09-27 17:47:26.000000000 +0300
+++ amarok/src/osd.h    2011-09-27 17:47:43.000000000 +0300
@@ -37,7 +37,7 @@
 
       public slots:
         /** calls setText() then show(), after setting image if needed */
-        void show( const QString &text, QImage newImage = QImage::QImage() );
+        void show( const QString &text, QImage newImage = QImage() );
         void ratingChanged( const short rating );
         void ratingChanged( const QString& path, int rating );
         void volChanged( unsigned char volume );
---cut---

I noticed this issue when re-emerging @world after upgrading gcc 4.4.5 to
4.5.3, but probably this issue have nothing with gcc and related to some
previous qt upgrade, so I named patch file amarok-qt3-4.7.patch but I'm
not sure this is correct name.

-- 
			WBR, Alex.

[-- Attachment #2: amarok-qt3-4.7.patch --]
[-- Type: application/x-patch, Size: 561 bytes --]

[-- Attachment #3: amarok-1.4.10_p20090130-r4.ebuild.patch --]
[-- Type: application/x-patch, Size: 483 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-27 15:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-27 15:04 [gentoo-desktop] [PATCH] amarok-1.4.10_p20090130-r4 fail to compile Alex Efros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox