[neon/neon-packaging/gitklient/Neon/unstable] debian/patches: Update 0001-test-kcrash.patch
Carlos De Maine
null at kde.org
Fri Jan 27 03:47:08 GMT 2023
Git commit 1ccdc7a0f421889eed6f3ccd2cc33a4114bbebb8 by Carlos De Maine.
Committed on 27/01/2023 at 03:47.
Pushed by carlosdem into branch 'Neon/unstable'.
Update 0001-test-kcrash.patch
M +10 -16 debian/patches/0001-test-kcrash.patch
https://invent.kde.org/neon/neon-packaging/gitklient/commit/1ccdc7a0f421889eed6f3ccd2cc33a4114bbebb8
diff --git a/debian/patches/0001-test-kcrash.patch b/debian/patches/0001-test-kcrash.patch
index 5168e4b..161213d 100644
--- a/debian/patches/0001-test-kcrash.patch
+++ b/debian/patches/0001-test-kcrash.patch
@@ -1,29 +1,23 @@
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
-
+=== modified file 'a/src/gitklient/gui/appwindow.cpp'
+--- a/gitklient/src/gui/appwindow.cpp
++++ b/gitklient/src/gui/appwindow.cpp
+@@ -38,6 +38,7 @@
+
// 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);
-=== modified file 'a/src/libgitklient/libgitklient_private_export.h'
---- a/src/libgitklient/libgitklient_private_export.h
-+++ b/src/libgitklient/libgitklient_private_export.h
+--- a/gitklient/src/libgitklient/libgitklient_private_export.h
++++ b/gitklient/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
More information about the Neon-commits
mailing list