From 922013719ab545531b37dcb72a743c3b98db38be Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Thu, 28 May 2020 10:37:37 +0200 Subject: [PATCH] media-sound/clementine: Fixed build with qt-5.15 Thanks-to: Nick Andrade Closes: https://bugs.gentoo.org/725678 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Lars Wendler --- .../clementine/clementine-1.4.0_rc1.ebuild | 4 ++ ...ntine-1.4.0_rc1-QPainterPath_include.patch | 50 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 media-sound/clementine/files/clementine-1.4.0_rc1-QPainterPath_include.patch diff --git a/media-sound/clementine/clementine-1.4.0_rc1.ebuild b/media-sound/clementine/clementine-1.4.0_rc1.ebuild index 7ee8c3edfb6d..0808dceb128d 100644 --- a/media-sound/clementine/clementine-1.4.0_rc1.ebuild +++ b/media-sound/clementine/clementine-1.4.0_rc1.ebuild @@ -106,6 +106,10 @@ RESTRICT="test" DOCS=( Changelog README.md ) +PATCHES=( + "${FILESDIR}/${P}-QPainterPath_include.patch" #725678 +) + src_prepare() { l10n_find_plocales_changes "src/translations" "" ".po" diff --git a/media-sound/clementine/files/clementine-1.4.0_rc1-QPainterPath_include.patch b/media-sound/clementine/files/clementine-1.4.0_rc1-QPainterPath_include.patch new file mode 100644 index 000000000000..3a441412ba26 --- /dev/null +++ b/media-sound/clementine/files/clementine-1.4.0_rc1-QPainterPath_include.patch @@ -0,0 +1,50 @@ +From 7715ae5c01528213a97369e14d5461efd264cc27 Mon Sep 17 00:00:00 2001 +From: SDNick484 +Date: Thu, 28 May 2020 10:34:31 +0200 +Subject: [PATCH] Adds missing QPainterPath include + +--- + src/widgets/freespacebar.cpp | 1 + + src/widgets/osdpretty.cpp | 1 + + src/widgets/sliderwidget.cpp | 1 + + 3 files changed, 3 insertions(+) + +diff --git a/src/widgets/freespacebar.cpp b/src/widgets/freespacebar.cpp +index 3067f722b..c9789d353 100644 +--- a/src/widgets/freespacebar.cpp ++++ b/src/widgets/freespacebar.cpp +@@ -20,6 +20,7 @@ + + #include + #include ++#include + + const int FreeSpaceBar::kBarHeight = 20; + const int FreeSpaceBar::kBarBorderRadius = 8; +diff --git a/src/widgets/osdpretty.cpp b/src/widgets/osdpretty.cpp +index 9d95716d8..30cef7dae 100644 +--- a/src/widgets/osdpretty.cpp ++++ b/src/widgets/osdpretty.cpp +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff --git a/src/widgets/sliderwidget.cpp b/src/widgets/sliderwidget.cpp +index 581a0de7b..96bbc0e5e 100644 +--- a/src/widgets/sliderwidget.cpp ++++ b/src/widgets/sliderwidget.cpp +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + #include + #include + #include +-- +2.27.0.rc2 + -- 2.26.2