diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-09-29 09:59:25 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-09-29 10:08:02 +0200 |
commit | 3f39c5021c9a3ce171b3b30718e6f4b0b5b5a72b (patch) | |
tree | 8a0e4a3889b7ae03c98486147d751640f7f6f8ac /kde-frameworks | |
parent | sci-astronomy/stellarium: 0.21.2 version bump (diff) | |
download | gentoo-3f39c5021c9a3ce171b3b30718e6f4b0b5b5a72b.tar.gz gentoo-3f39c5021c9a3ce171b3b30718e6f4b0b5b5a72b.tar.bz2 gentoo-3f39c5021c9a3ce171b3b30718e6f4b0b5b5a72b.zip |
kde-frameworks/knewstuff: Fix crash in DownloadWidget
See also:
https://mail.kde.org/pipermail/distributions/2021-September/001051.html
KDE-bug: https://bugs.kde.org/show_bug.cgi?id=443025
Package-Manager: Portage-3.0.24, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks')
-rw-r--r-- | kde-frameworks/knewstuff/files/knewstuff-5.86.0-fix-crash-in-DownloadWidget.patch | 26 | ||||
-rw-r--r-- | kde-frameworks/knewstuff/knewstuff-5.86.0-r1.ebuild | 51 |
2 files changed, 77 insertions, 0 deletions
diff --git a/kde-frameworks/knewstuff/files/knewstuff-5.86.0-fix-crash-in-DownloadWidget.patch b/kde-frameworks/knewstuff/files/knewstuff-5.86.0-fix-crash-in-DownloadWidget.patch new file mode 100644 index 000000000000..dbed97665d57 --- /dev/null +++ b/kde-frameworks/knewstuff/files/knewstuff-5.86.0-fix-crash-in-DownloadWidget.patch @@ -0,0 +1,26 @@ +From d09ba1917cb7e035a9aac6c27c86fc4df5da3194 Mon Sep 17 00:00:00 2001 +From: Albert Astals Cid <aacid@kde.org> +Date: Mon, 27 Sep 2021 20:05:09 +0200 +Subject: [PATCH] Fix crash in DownloadWidget + +BUGS: 443025 +--- + src/downloadwidget.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/downloadwidget.cpp b/src/downloadwidget.cpp +index 40df2e8c..36cfde37 100644 +--- a/src/downloadwidget.cpp ++++ b/src/downloadwidget.cpp +@@ -97,7 +97,7 @@ Entry::List DownloadWidget::installedEntries() + } + + DownloadWidgetPrivate::DownloadWidgetPrivate(DownloadWidget *qq) +- : q(q) ++ : q(qq) + , engine(new KNSCore::Engine) + , model(new KNSCore::ItemsModel(engine)) + , messageTimer(nullptr) +-- +GitLab + diff --git a/kde-frameworks/knewstuff/knewstuff-5.86.0-r1.ebuild b/kde-frameworks/knewstuff/knewstuff-5.86.0-r1.ebuild new file mode 100644 index 000000000000..293f9356d4af --- /dev/null +++ b/kde-frameworks/knewstuff/knewstuff-5.86.0-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="false" +PVCUT=$(ver_cut 1-2) +QTMIN=5.15.2 +inherit ecm kde.org + +DESCRIPTION="Framework for downloading and sharing additional application data" + +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="opds" + +DEPEND=" + >=dev-qt/qtdeclarative-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + =kde-frameworks/attica-${PVCUT}*:5 + =kde-frameworks/karchive-${PVCUT}*:5 + =kde-frameworks/kcompletion-${PVCUT}*:5 + =kde-frameworks/kconfig-${PVCUT}*:5 + =kde-frameworks/kcoreaddons-${PVCUT}*:5 + =kde-frameworks/ki18n-${PVCUT}*:5 + =kde-frameworks/kiconthemes-${PVCUT}*:5 + =kde-frameworks/kio-${PVCUT}*:5 + =kde-frameworks/kitemviews-${PVCUT}*:5 + =kde-frameworks/kpackage-${PVCUT}*:5 + =kde-frameworks/kservice-${PVCUT}*:5 + =kde-frameworks/ktextwidgets-${PVCUT}*:5 + =kde-frameworks/kwidgetsaddons-${PVCUT}*:5 + =kde-frameworks/kxmlgui-${PVCUT}*:5 + opds? ( =kde-frameworks/syndication-${PVCUT}*:5 ) +" +RDEPEND="${DEPEND} + >=kde-frameworks/kirigami-${PVCUT}:5 +" + +PATCHES=( "${FILESDIR}/${P}-fix-crash-in-DownloadWidget.patch" ) # KDE-bug 443025 + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package opds KF5Syndication) + ) + + ecm_src_configure +} |