summaryrefslogtreecommitdiff
path: root/audio/lastfm/package-paths.patch
diff options
context:
space:
mode:
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 );