summaryrefslogtreecommitdiff
path: root/audio/lastfm/package-paths.patch
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2014-01-02 09:53:37 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-07 11:13:59 -0600
commitc0d688edf0a7ca2284f73345c588962ac0b4bc47 (patch)
tree61f0f59a1c04165953111f309fa6adf078ef6582 /audio/lastfm/package-paths.patch
parent09ebaf40e08c33261c8cbf047c1ff2e771cf9b9f (diff)
downloadslackbuilds-c0d688edf0a7ca2284f73345c588962ac0b4bc47.tar.gz
audio/lastfm: Added (Official player from Last.fm).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/lastfm/package-paths.patch')
-rw-r--r--audio/lastfm/package-paths.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/lastfm/package-paths.patch b/audio/lastfm/package-paths.patch
new file mode 100644
index 0000000000..d8cffa1b04
--- /dev/null
+++ b/audio/lastfm/package-paths.patch
@@ -0,0 +1,12 @@
+diff -Naur lastfm-desktop-2.1.36.orig/lib/unicorn/UnicornApplication.cpp lastfm-desktop-2.1.36/lib/unicorn/UnicornApplication.cpp
+--- lastfm-desktop-2.1.36.orig/lib/unicorn/UnicornApplication.cpp 2013-09-03 12:19:10.000000000 +0000
++++ lastfm-desktop-2.1.36/lib/unicorn/UnicornApplication.cpp 2014-01-01 03:33:09.389688237 +0000
+@@ -234,7 +234,7 @@
+ t1->load( d.filePath( "lastfm_" + qmExt ) );
+
+ QTranslator* t2 = new QTranslator( this );
+- t2->load( d.filePath( "qt_" + qmExt ) );
++ t2->load( QDir("/usr/lib@LIBDIRSUFFIX@/qt/translations").filePath( "qt_" + qmExt ) );
+
+ installTranslator( t1 );
+ installTranslator( t2 );