public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/QGnomePlatform/, x11-themes/QGnomePlatform/files/
Date: Sun, 31 May 2020 12:42:39 +0000 (UTC)	[thread overview]
Message-ID: <1590928938.00f515c1c6f5d75ecc2b94351f0e133d128060cd.pacho@gentoo> (raw)

commit:     00f515c1c6f5d75ecc2b94351f0e133d128060cd
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun May 31 11:12:19 2020 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun May 31 12:42:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00f515c1

x11-themes/QGnomePlatform: Fix build with qt-5.15

Closes: https://bugs.gentoo.org/725830
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 .../QGnomePlatform/QGnomePlatform-0.6.1.ebuild      |  2 ++
 .../files/QGnomePlatform-0.6.1-qt5.15.patch         | 21 +++++++++++++++++++++
 2 files changed, 23 insertions(+)

diff --git a/x11-themes/QGnomePlatform/QGnomePlatform-0.6.1.ebuild b/x11-themes/QGnomePlatform/QGnomePlatform-0.6.1.ebuild
index 65c5840ce9d..1ec98282675 100644
--- a/x11-themes/QGnomePlatform/QGnomePlatform-0.6.1.ebuild
+++ b/x11-themes/QGnomePlatform/QGnomePlatform-0.6.1.ebuild
@@ -22,6 +22,8 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="${RDEPEND}"
 
+PATCHES=( "${FILESDIR}/${P}-qt5.15.patch" )
+
 src_configure() {
 	eqmake5
 }

diff --git a/x11-themes/QGnomePlatform/files/QGnomePlatform-0.6.1-qt5.15.patch b/x11-themes/QGnomePlatform/files/QGnomePlatform-0.6.1-qt5.15.patch
new file mode 100644
index 00000000000..b0927d12e79
--- /dev/null
+++ b/x11-themes/QGnomePlatform/files/QGnomePlatform-0.6.1-qt5.15.patch
@@ -0,0 +1,21 @@
+From c835c9e80cfadd62e01f16591721d2103d28a212 Mon Sep 17 00:00:00 2001
+From: Jan Grulich <jgrulich@redhat.com>
+Date: Wed, 27 May 2020 13:38:49 +0200
+Subject: [PATCH] Fix build with Qt 5.15
+
+---
+ decoration/qgnomeplatformdecoration.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/decoration/qgnomeplatformdecoration.cpp b/decoration/qgnomeplatformdecoration.cpp
+index 61c2af9..c8b381c 100644
+--- a/decoration/qgnomeplatformdecoration.cpp
++++ b/decoration/qgnomeplatformdecoration.cpp
+@@ -46,6 +46,7 @@
+ #include <QtGui/QCursor>
+ #include <QtGui/QLinearGradient>
+ #include <QtGui/QPainter>
++#include <QtGui/QPainterPath>
+ #include <QtGui/QPalette>
+ #include <QtGui/QPixmap>
+ 


             reply	other threads:[~2020-05-31 12:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-31 12:42 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-06-06 18:12 [gentoo-commits] repo/gentoo:master commit in: x11-themes/QGnomePlatform/, x11-themes/QGnomePlatform/files/ Pacho Ramos
2022-04-26 10:30 Pacho Ramos
2023-08-23 10:19 Pacho Ramos
2023-10-20 13:14 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1590928938.00f515c1c6f5d75ecc2b94351f0e133d128060cd.pacho@gentoo \
    --to=pacho@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox