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/kgpg/kgpg-4.8.0.noconfigfile.patch | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 kde/patch/kgpg/kgpg-4.8.0.noconfigfile.patch (limited to 'kde/patch/kgpg/kgpg-4.8.0.noconfigfile.patch') diff --git a/kde/patch/kgpg/kgpg-4.8.0.noconfigfile.patch b/kde/patch/kgpg/kgpg-4.8.0.noconfigfile.patch new file mode 100644 index 0000000..89d4ee6 --- /dev/null +++ b/kde/patch/kgpg/kgpg-4.8.0.noconfigfile.patch @@ -0,0 +1,27 @@ +commit fa0b4565a2c4aa672dc4c285d1bd445e055da626 +Author: Patrick Spendrin +Date: Thu Jan 19 11:24:44 2012 +0100 + + fix startup when no config file is defined + + BUG:291923 + +diff --git a/gpgproc.cpp b/gpgproc.cpp +index 49a5385..dc5ebfa 100644 +--- a/gpgproc.cpp ++++ b/gpgproc.cpp +@@ -86,9 +86,11 @@ void GnupgBinary::setBinary(const QString &executable) + m_standardArguments.clear(); + m_standardArguments << QLatin1String( "--no-secmem-warning" ) + << QLatin1String( "--no-tty" ) +- << QLatin1String("--no-greeting") +- << QLatin1String("--options") +- << gpgConfigFile; ++ << QLatin1String("--no-greeting"); ++ ++ if (!gpgConfigFile.isEmpty()) ++ m_standardArguments << QLatin1String("--options") ++ << gpgConfigFile; + + QStringList debugLevelArguments(QLatin1String("--debug-level")); + debugLevelArguments << QLatin1String("none"); -- cgit v1.2.3