diff options
author | Eric Hameleers <alien@slackware.com> | 2014-12-22 15:07:05 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2014-12-22 15:07:05 +0100 |
commit | eb82fdc2eafc3d1b5f837fcda2c4903106d9d79a (patch) | |
tree | 4faf464e6ba3d915031f30be18faadb92c31d3c2 /kde/patch/ark | |
parent | 270c1ba7053478dbd1c632eea18d6e54d51e4ecc (diff) | |
download | ktown-eb82fdc2eafc3d1b5f837fcda2c4903106d9d79a.tar.gz ktown-eb82fdc2eafc3d1b5f837fcda2c4903106d9d79a.tar.xz |
KDE 4.8.4 for Slackware 14.0 (07jun2012)4.8.4
Diffstat (limited to 'kde/patch/ark')
-rw-r--r-- | kde/patch/ark/ark-4.8.0_7zip_crash.patch | 24 |
1 files changed, 24 insertions, 0 deletions
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 <rakuco@FreeBSD.org> +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" ); |