[neon/graphics/optiimage/Neon/unstable] debian/patches: refresh patch

Carlos De Maine null at kde.org
Mon Aug 3 09:05:27 BST 2026


Git commit 0e80046189ea875d3b7145dead72731f70a1d235 by Carlos De Maine.
Committed on 03/08/2026 at 08:05.
Pushed by carlosdem into branch 'Neon/unstable'.

refresh patch

(cherry picked from commit 2b8f59c549235a7151ce89af28bde402ad477f01)

M  +14   -2    debian/patches/kcrash.diff

https://invent.kde.org/neon/graphics/optiimage/-/commit/0e80046189ea875d3b7145dead72731f70a1d235

diff --git a/debian/patches/kcrash.diff b/debian/patches/kcrash.diff
index f53aabb..2a31b0b 100644
--- a/debian/patches/kcrash.diff
+++ b/debian/patches/kcrash.diff
@@ -1,8 +1,19 @@
 diff --git a/src/main.cpp b/src/main.cpp
-index 4ea8a76..d04c026 100644
+index 4ea8a76..b7911ba 100644
 --- a/src/main.cpp
 +++ b/src/main.cpp
-@@ -37,6 +37,10 @@ int main(int argc, char *argv[])
+@@ -14,6 +14,10 @@
+ 
+ #include "optiimage-version.h"
+ 
++#if __has_include("KCrash")
++    #include <KCrash>
++#endif
++
+ using namespace Qt::Literals::StringLiterals;
+ 
+ int main(int argc, char *argv[])
+@@ -37,6 +41,10 @@ int main(int argc, char *argv[])
      KAboutData::setApplicationData(about);
      QGuiApplication::setWindowIcon(QIcon::fromTheme(QStringLiteral("org.kde.optiimage")));
  
@@ -13,3 +24,4 @@ index 4ea8a76..d04c026 100644
      QQmlApplicationEngine engine;
      QCoro::Qml::registerTypes();
  
+


More information about the Neon-commits mailing list