Compare commits

...
This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

1 commit

Author SHA1 Message Date
Rex Dieter
f48d4cae8d (branch) include candidate upstream crashfix 2018-02-07 15:59:29 -06:00
2 changed files with 17 additions and 1 deletions

View file

@ -0,0 +1,12 @@
diff -up apper-0.9.3/Apper/MainUi.cpp.crashfix apper-0.9.3/Apper/MainUi.cpp
--- apper-0.9.3/Apper/MainUi.cpp.crashfix 2017-03-13 15:49:58.000000000 -0500
+++ apper-0.9.3/Apper/MainUi.cpp 2018-02-07 15:53:26.165469416 -0600
@@ -43,7 +43,7 @@ MainUi::MainUi(QWidget *parent) :
KPageWidgetItem *page = addModule(QLatin1String("kcm_apper.desktop"),
QStringList() << QLatin1String("apper"));
if (page) {
- KCModuleProxy *proxy = static_cast<KCModuleProxy*>(page->widget());
+ KCModuleProxy *proxy = qobject_cast<KCModuleProxy*>(page->widget());
if (proxy) {
m_apperModule = proxy->realModule();
connect(m_apperModule, SIGNAL(caption(QString)),

View file

@ -6,7 +6,7 @@
Name: apper
Summary: KDE interface for PackageKit
Version: 0.9.3
Release: 0.10.%{snap}%{?dist}
Release: 0.11.%{snap}%{?dist}
License: GPLv2+
%if 0%{?snap:1}
@ -21,6 +21,7 @@ URL: https://cgit.kde.org/apper.git
## upstreamable patches
# https://phabricator.kde.org/D5193
Patch100: https://phabricator.kde.org/file/data/dos4duccaqmjmlpc3vzo/PHID-FILE-zig6gg67s5y7fp2e4p7w/D5193.diff
Patch101: apper-0.9.3-crashfix.patch
Obsoletes: kpackagekit < 0.7.0
Provides: kpackagekit = %{version}-%{release}
@ -147,6 +148,9 @@ fi
%changelog
* Wed Feb 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 0.9.3-0.11.20170226
- (branch) include candidate upstream crashfix
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.3-0.10.20170226
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild