summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-03-20 18:15:30 +0100
committerMichael Palimaka <kensington@gentoo.org>2016-03-26 00:11:58 +1100
commitb0db5d580b55bd526d8c5f47a48bc2cb0b641b1f (patch)
tree499e18b5c2706f317beb84a22b66d1a205c70567 /kde-apps/kgeography/files/kgeography-15.12.0-kcrash.patch
parentkde-apps/kblocks: Drop old (diff)
downloadgentoo-b0db5d580b55bd526d8c5f47a48bc2cb0b641b1f.tar.gz
gentoo-b0db5d580b55bd526d8c5f47a48bc2cb0b641b1f.tar.bz2
gentoo-b0db5d580b55bd526d8c5f47a48bc2cb0b641b1f.zip
kde-apps: Move kdeedu-meta 15.12.3 from kde overlay
Package-Manager: portage-2.2.27
Diffstat (limited to 'kde-apps/kgeography/files/kgeography-15.12.0-kcrash.patch')
-rw-r--r--kde-apps/kgeography/files/kgeography-15.12.0-kcrash.patch54
1 files changed, 54 insertions, 0 deletions
diff --git a/kde-apps/kgeography/files/kgeography-15.12.0-kcrash.patch b/kde-apps/kgeography/files/kgeography-15.12.0-kcrash.patch
new file mode 100644
index 000000000000..94ee6ec262ee
--- /dev/null
+++ b/kde-apps/kgeography/files/kgeography-15.12.0-kcrash.patch
@@ -0,0 +1,54 @@
+From: Andreas Cord-Landwehr <cordlandwehr@kde.org>
+Date: Thu, 31 Dec 2015 13:02:56 +0000
+Subject: Enable KCrash.
+X-Git-Url: http://quickgit.kde.org/?p=kgeography.git&a=commitdiff&h=099cc1be8431e5e3b7109287cc0168aa35815df9
+---
+Enable KCrash.
+---
+
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -14,8 +14,8 @@
+
+ find_package (Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED Core Widgets)
+
+-find_package (KF5 REQUIRED COMPONENTS
+- XmlGui WidgetsAddons CoreAddons ConfigWidgets I18n ItemViews IconThemes Service DocTools
++find_package (KF5 5.15 REQUIRED COMPONENTS
++ XmlGui WidgetsAddons CoreAddons ConfigWidgets I18n ItemViews IconThemes Service Crash DocTools
+ )
+
+ include(KDEInstallDirs)
+
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -38,6 +38,7 @@
+ KF5::WidgetsAddons
+ KF5::CoreAddons
+ KF5::ConfigWidgets
++ KF5::Crash
+ KF5::I18n
+ KF5::ItemViews
+ KF5::IconThemes
+
+--- a/src/main.cpp
++++ b/src/main.cpp
+@@ -13,6 +13,7 @@
+ #include <qapplication.h>
+ #include <qcommandlineparser.h>
+ #include <Kdelibs4ConfigMigrator>
++#include <KCrash>
+ #include "kgeography.h"
+
+ int main(int argc, char *argv[])
+@@ -33,6 +34,8 @@
+
+ app.setWindowIcon(QIcon::fromTheme(QStringLiteral("kgeography")));
+
++ KCrash::initialize();
++
+ QCommandLineParser parser;
+ about.setupCommandLine(&parser);
+ parser.process(app);
+