From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1183749-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5EDE313835A for <garchives@archives.gentoo.org>; Tue, 30 Jun 2020 21:44:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 897E5E08FB; Tue, 30 Jun 2020 21:44:32 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 73E0AE08F7 for <gentoo-commits@lists.gentoo.org>; Tue, 30 Jun 2020 21:44:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1345C34F2BC for <gentoo-commits@lists.gentoo.org>; Tue, 30 Jun 2020 21:44:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 121DA2CE for <gentoo-commits@lists.gentoo.org>; Tue, 30 Jun 2020 21:44:25 +0000 (UTC) From: "Andreas Sturmlechner" <asturm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" <asturm@gentoo.org> Message-ID: <1593553444.54c96702dba9bb8dc9fccd90ee19439ecc6a237e.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/digikam/files/, media-gfx/digikam/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/digikam/digikam-6.4.0-r1.ebuild media-gfx/digikam/files/digikam-6.4.0-qt-5.15.patch X-VCS-Directories: media-gfx/digikam/ media-gfx/digikam/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 54c96702dba9bb8dc9fccd90ee19439ecc6a237e X-VCS-Branch: master Date: Tue, 30 Jun 2020 21:44:25 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bf29433a-b44b-4136-9d47-01e464c30448 X-Archives-Hash: 988e0c7245ab6f5980be87a665c536bb commit: 54c96702dba9bb8dc9fccd90ee19439ecc6a237e Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Tue Jun 30 21:20:54 2020 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Tue Jun 30 21:44:04 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54c96702 media-gfx/digikam: Fix 6.4.0-r1 build w/ Qt-5.15 Thanks-to: Thomas Posch <bugs.gentoo.org <AT> online.posch.name> Closes: https://bugs.gentoo.org/729446 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> media-gfx/digikam/digikam-6.4.0-r1.ebuild | 5 ++- .../digikam/files/digikam-6.4.0-qt-5.15.patch | 38 ++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/media-gfx/digikam/digikam-6.4.0-r1.ebuild b/media-gfx/digikam/digikam-6.4.0-r1.ebuild index f89120250bc..870d93f3a99 100644 --- a/media-gfx/digikam/digikam-6.4.0-r1.ebuild +++ b/media-gfx/digikam/digikam-6.4.0-r1.ebuild @@ -109,7 +109,10 @@ RDEPEND="${COMMON_DEPEND} RESTRICT+=" test" # bug 366505 -PATCHES=( "${FILESDIR}/${PN}-6.3.0-cmake.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-6.3.0-cmake.patch" + "${FILESDIR}/${P}-qt-5.15.patch" # bug 730298 +) pkg_pretend() { [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp diff --git a/media-gfx/digikam/files/digikam-6.4.0-qt-5.15.patch b/media-gfx/digikam/files/digikam-6.4.0-qt-5.15.patch new file mode 100644 index 00000000000..c2d5154b549 --- /dev/null +++ b/media-gfx/digikam/files/digikam-6.4.0-qt-5.15.patch @@ -0,0 +1,38 @@ +Fix build with Qt 5.15 + +Authored-by: Thomas Posch <bugs.gentoo.org@online.posch.name> + +diff -Naur a/core/dplugins/generic/view/presentation/opengl/presentationgl.cpp b/core/dplugins/generic/view/presentation/opengl/presentationgl.cpp +--- a/core/dplugins/generic/view/presentation/opengl/presentationgl.cpp 2020-06-30 22:48:50.477149053 +0200 ++++ b/core/dplugins/generic/view/presentation/opengl/presentationgl.cpp 2020-06-30 22:49:52.217439213 +0200 +@@ -44,6 +44,8 @@ + #include <QMatrix> + #include <QMouseEvent> + #include <QPainter> ++#include <QPainterPath> ++#include <QPainterPathStroker> + #include <QPixmap> + #include <QTimer> + #include <QWheelEvent> +diff -Naur a/core/libs/dimg/filters/curves/curveswidget.cpp b/core/libs/dimg/filters/curves/curveswidget.cpp +--- a/core/libs/dimg/filters/curves/curveswidget.cpp 2020-06-30 22:48:50.374150231 +0200 ++++ b/core/libs/dimg/filters/curves/curveswidget.cpp 2020-06-30 22:49:17.219842551 +0200 +@@ -41,6 +41,7 @@ + #include <QFont> + #include <QFontMetrics> + #include <QPaintEvent> ++#include <QPainterPath> + #include <QMouseEvent> + + // KDE includes +diff -Naur a/core/libs/dimg/filters/levels/histogrampainter.cpp b/core/libs/dimg/filters/levels/histogrampainter.cpp +--- a/core/libs/dimg/filters/levels/histogrampainter.cpp 2020-06-30 22:48:50.374150231 +0200 ++++ b/core/libs/dimg/filters/levels/histogrampainter.cpp 2020-06-30 22:49:17.219842551 +0200 +@@ -30,6 +30,7 @@ + // Qt includes + + #include <QPainter> ++#include <QPainterPath> + + // KDE includes +