mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
audio/lastfm: Fixed build on -current.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ae926fd3e2
commit
1abc06427b
2 changed files with 25 additions and 0 deletions
22
audio/lastfm/github-192b979c57a.patch
Normal file
22
audio/lastfm/github-192b979c57a.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
From 192b979c57aa0b9a2df4f11ad4851ce4fbf5d38b Mon Sep 17 00:00:00 2001
|
||||
From: Spiek <spiek@ymail.com>
|
||||
Date: Fri, 27 Dec 2013 13:27:11 +0100
|
||||
Subject: [PATCH] Fix missing Cast
|
||||
|
||||
---
|
||||
app/client/Services/RadioService/RadioService.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/app/client/Services/RadioService/RadioService.cpp b/app/client/Services/RadioService/RadioService.cpp
|
||||
index 05f22c8..10094b6 100644
|
||||
--- a/app/client/Services/RadioService/RadioService.cpp
|
||||
+++ b/app/client/Services/RadioService/RadioService.cpp
|
||||
@@ -307,7 +307,7 @@ RadioService::mute()
|
||||
void
|
||||
RadioService::onPhononStateChanged( Phonon::State newstate, Phonon::State oldstate )
|
||||
{
|
||||
- qDebug() << oldstate << " -> " << newstate;
|
||||
+ qDebug() << (int)oldstate << " -> " << (int)newstate;
|
||||
if (m_mediaObject == 0) {
|
||||
qDebug() << "m_mediaObject is null!";
|
||||
return;
|
|
@ -74,6 +74,9 @@ cat $CWD/package-paths.patch | sed -e "s|@LIBDIRSUFFIX@|$LIBDIRSUFFIX|" \
|
|||
| patch -p1
|
||||
# Fix for ffmpeg 2.x.
|
||||
patch -p1 < $CWD/ffmpeg-2.0.patch
|
||||
# Fix for "ambiguous overload for ‘operator<<’" in gcc-4.9
|
||||
# thanks to Spiek on github (https://github.com/lastfm/lastfm-desktop/pull/44)
|
||||
patch -p1 < $CWD/github-192b979c57a.patch
|
||||
# Turn on verbose compile output.
|
||||
sed -i 's|^CONFIG.*|#&|' admin/include.qmake
|
||||
|
||||
|
|
Loading…
Reference in a new issue