[neon/neon-packaging/gitklient/Neon/unstable] debian/patches: kcrash patches

Carlos De Maine null at kde.org
Fri Jan 27 02:58:41 GMT 2023


Git commit b3f0d82cfb83e59995938118684711f291230a26 by Carlos De Maine.
Committed on 27/01/2023 at 02:58.
Pushed by carlosdem into branch 'Neon/unstable'.

kcrash patches

A  +31   -0    debian/patches/0001-test-kcrash.patch
A  +1    -0    debian/patches/series

https://invent.kde.org/neon/neon-packaging/gitklient/commit/b3f0d82cfb83e59995938118684711f291230a26

diff --git a/debian/patches/0001-test-kcrash.patch b/debian/patches/0001-test-kcrash.patch
new file mode 100644
index 0000000..cb5db2e
--- /dev/null
+++ b/debian/patches/0001-test-kcrash.patch
@@ -0,0 +1,31 @@
+diff:
+=== modified file 'a/src/gui/appwindow.cpp'
+--- a/src/gui/appwindow.cpp
++++ b/src/gui/appwindow.cpp
+-38,6 +38,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
+
+ // KF headers
+ #include <KActionCollection>
++#include <KCrash>
+ #include <KLocalizedString>
+ #include <KMessageBox>
+ #include <KStandardShortcut>
+ void AppWindow::init()
+ {
+     KCrash::initialize();
+     mGit = Git::Manager::instance();
+     connect(mGit, &Git::Manager::pathChanged, this, &AppWindow::git_pathChanged);
+
+diff:
+=== modified file 'a/src/libgitklient/libgitklient_private_export.h'
+--- a/src/libgitklient/libgitklient_private_export.h
++++ b/src/libgitklient/libgitklient_private_export.h
+@@ -8,6 +8,8 @@
+
+ #include "libgitklient_export.h"
+
++KCrash::initialize();
+
+ /* Classes which are exported only for unit tests */
+ #ifdef BUILD_TESTING
+ #ifndef LIBGITKLIENT_TESTS_EXPORT
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1f2f75d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-test-kcrash.patch


More information about the Neon-commits mailing list