[neon/kde/konsole/Neon/unstable] debian/patches: add trial patch to init kcrash

Jonathan Riddell null at kde.org
Mon Jun 28 14:14:24 BST 2021


Git commit 8df60fb310b7df7566fe1928220115b97ee256f7 by Jonathan Riddell.
Committed on 28/06/2021 at 13:14.
Pushed by jriddell into branch 'Neon/unstable'.

add trial patch to init kcrash

A  +20   -0    debian/patches/konsole_plugin_kcrash_init.diff
A  +1    -0    debian/patches/series

https://invent.kde.org/neon/kde/konsole/commit/8df60fb310b7df7566fe1928220115b97ee256f7

diff --git a/debian/patches/konsole_plugin_kcrash_init.diff b/debian/patches/konsole_plugin_kcrash_init.diff
new file mode 100644
index 0000000..4d856fa
--- /dev/null
+++ b/debian/patches/konsole_plugin_kcrash_init.diff
@@ -0,0 +1,20 @@
+Index: konsole/src/plugins/SSHManager/sshmanagerplugin.cpp
+===================================================================
+--- konsole.orig/src/plugins/SSHManager/sshmanagerplugin.cpp
++++ konsole/src/plugins/SSHManager/sshmanagerplugin.cpp
+@@ -20,6 +20,7 @@
+ 
+ #include <KLocalizedString>
+ #include <KActionCollection>
++#include <KCrash>
+ 
+ #include "MainWindow.h"
+ 
+@@ -37,6 +38,7 @@ SSHManagerPlugin::SSHManagerPlugin(QObje
+ , d(std::make_unique<SSHManagerPluginPrivate>())
+ {
+     setName(QStringLiteral("SshManager"));
++    KCrash::initialize();
+ }
+ 
+ SSHManagerPlugin::~SSHManagerPlugin() = default;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3e442e1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+konsole_plugin_kcrash_init.diff


More information about the Neon-commits mailing list