aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAstroFloyd <AstroFloyd@gmail.com>2018-01-12 08:12:06 +0100
committerAstroFloyd <AstroFloyd@gmail.com>2018-01-12 08:12:06 +0100
commit1cada4cd0549a53f3c009e6d0562ff0cef76ebd4 (patch)
tree4ae037b0771e32fe51673f33681760e2cbaa95aa /media-sound/amarok/files/amarok-2.8.90-scriptconsole.patch
parentsys-cluster/opencoarrays: add dependency virtual/mpi (diff)
downloadAstroFloyd-1cada4cd0549a53f3c009e6d0562ff0cef76ebd4.tar.gz
AstroFloyd-1cada4cd0549a53f3c009e6d0562ff0cef76ebd4.tar.bz2
AstroFloyd-1cada4cd0549a53f3c009e6d0562ff0cef76ebd4.zip
media-sound/amarok (+3 deps): copy from portage to keep until Plasma-5 version of Amarok is released
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'media-sound/amarok/files/amarok-2.8.90-scriptconsole.patch')
-rw-r--r--media-sound/amarok/files/amarok-2.8.90-scriptconsole.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/media-sound/amarok/files/amarok-2.8.90-scriptconsole.patch b/media-sound/amarok/files/amarok-2.8.90-scriptconsole.patch
new file mode 100644
index 0000000..455146b
--- /dev/null
+++ b/media-sound/amarok/files/amarok-2.8.90-scriptconsole.patch
@@ -0,0 +1,33 @@
+From 2900fe47adde10999a6c0f907d73b00a1c1bd5b1 Mon Sep 17 00:00:00 2001
+From: Myriam Schweingruber <myriam@kde.org>
+Date: Wed, 18 May 2016 21:59:17 +0200
+Subject: [PATCH] Fix a crash in amarok when opening the Script Console
+
+The script console tries to write to a system folder instead of a user
+ folder. Note to devs: always make sure to test a system installation,
+ not just a local build.
+
+Thanks to Johannes Huber for the quick fix suggestion.
+
+BUG: 363176
+FIXED-IN: 2.9
+---
+ src/scripting/scriptconsole/ScriptConsole.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/scripting/scriptconsole/ScriptConsole.cpp b/src/scripting/scriptconsole/ScriptConsole.cpp
+index 6edd9a2..e4e0fab 100644
+--- a/src/scripting/scriptconsole/ScriptConsole.cpp
++++ b/src/scripting/scriptconsole/ScriptConsole.cpp
+@@ -161,7 +161,7 @@ ScriptConsole::ScriptConsole( QWidget *parent )
+ settings.endGroup();
+
+ if( m_savePath.isEmpty() )
+- m_savePath = KUrl( KStandardDirs::locate( "data", "amarok/scriptconsole/" ) ).path();
++ m_savePath = KUrl( KStandardDirs::locateLocal( "data", "amarok/scriptconsole/" ) ).path();
+
+ slotNewScript();
+ connect( m_debugger, SIGNAL(evaluationSuspended()), SLOT(slotEvaluationSuspended()) );
+--
+2.8.2
+