From eb82fdc2eafc3d1b5f837fcda2c4903106d9d79a Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Mon, 22 Dec 2014 15:07:05 +0100 Subject: KDE 4.8.4 for Slackware 14.0 (07jun2012) --- kde/patch/ark/ark-4.8.0_7zip_crash.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 kde/patch/ark/ark-4.8.0_7zip_crash.patch (limited to 'kde/patch/ark/ark-4.8.0_7zip_crash.patch') diff --git a/kde/patch/ark/ark-4.8.0_7zip_crash.patch b/kde/patch/ark/ark-4.8.0_7zip_crash.patch new file mode 100644 index 0000000..52939e8 --- /dev/null +++ b/kde/patch/ark/ark-4.8.0_7zip_crash.patch @@ -0,0 +1,24 @@ +From: Raphael Kubo da Costa +Date: Sun, 22 Jan 2012 19:03:05 +0000 +Subject: cli7zip: Completely remove RootNodeSwitch. +X-Git-Url: http://quickgit.kde.org/?p=ark.git&a=commitdiff&h=0e67d6db9e7a5a0f90fcacaee11042b89b79d96b +--- +cli7zip: Completely remove RootNodeSwitch. + +Follow-up to 45c6c6f5bcff6bf754fccd6377836e025a6baade, which removed the +definition of RootNodeSwitch but did not remove the reference in +ExtractArgs, resulting in a crash whenever a 7z archive was extracted. +--- + + +--- a/plugins/cli7zplugin/cliplugin.cpp ++++ b/plugins/cli7zplugin/cliplugin.cpp +@@ -53,7 +53,7 @@ ParameterList CliPlugin::parameterList() + p[ListProgram] = p[ExtractProgram] = p[DeleteProgram] = p[AddProgram] = QLatin1String( "7z" ); + + p[ListArgs] = QStringList() << QLatin1String( "l" ) << QLatin1String( "-slt" ) << QLatin1String( "$Archive" ); +- p[ExtractArgs] = QStringList() << QLatin1String( "$PreservePathSwitch" ) << QLatin1String( "$PasswordSwitch" ) << QLatin1String( "$RootNodeSwitch" ) << QLatin1String( "$Archive" ) << QLatin1String( "$Files" ); ++ p[ExtractArgs] = QStringList() << QLatin1String( "$PreservePathSwitch" ) << QLatin1String( "$PasswordSwitch" ) << QLatin1String( "$Archive" ) << QLatin1String( "$Files" ); + p[PreservePathSwitch] = QStringList() << QLatin1String( "x" ) << QLatin1String( "e" ); + p[PasswordSwitch] = QStringList() << QLatin1String( "-p$Password" ); + p[FileExistsExpression] = QLatin1String( "already exists. Overwrite with" ); -- cgit v1.2.3