diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2020-06-15 12:21:04 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2020-06-15 12:21:20 +0200 |
commit | 7ca1ee802fd1768f87d1f29c7d0ded48a91e0a4f (patch) | |
tree | 7351e79a106d479ff7b2cb34ba2d2645bda7dbfe /media-sound/sonic-visualiser | |
parent | kde-apps/marble: Drop 20.04.2 (r0) (diff) | |
download | gentoo-7ca1ee802fd1768f87d1f29c7d0ded48a91e0a4f.tar.gz gentoo-7ca1ee802fd1768f87d1f29c7d0ded48a91e0a4f.tar.bz2 gentoo-7ca1ee802fd1768f87d1f29c7d0ded48a91e0a4f.zip |
media-sound/sonic-visualiser: fixed compilation with qt 5.15
Closes: https://bugs.gentoo.org/727304
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/sonic-visualiser')
-rw-r--r-- | media-sound/sonic-visualiser/files/sonic-visualiser-4.0.1-qt-5.15-fix.patch | 37 | ||||
-rw-r--r-- | media-sound/sonic-visualiser/sonic-visualiser-4.0.1.ebuild | 1 |
2 files changed, 38 insertions, 0 deletions
diff --git a/media-sound/sonic-visualiser/files/sonic-visualiser-4.0.1-qt-5.15-fix.patch b/media-sound/sonic-visualiser/files/sonic-visualiser-4.0.1-qt-5.15-fix.patch new file mode 100644 index 000000000000..007df8ecbb67 --- /dev/null +++ b/media-sound/sonic-visualiser/files/sonic-visualiser-4.0.1-qt-5.15-fix.patch @@ -0,0 +1,37 @@ +From 7ebbdfd514c70ab500c8079a11b8ed91d086fe5a Mon Sep 17 00:00:00 2001 +From: Christophe Giboudeaux <christophe@krop.fr> +Date: Sat, 6 Jun 2020 11:09:16 +0200 +Subject: [PATCH] Fix build with Qt 5.15 + +--- + svgui/layer/WaveformLayer.cpp | 1 + + svgui/view/Overview.cpp | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/svgui/layer/WaveformLayer.cpp b/svgui/layer/WaveformLayer.cpp +index 8499ba3..07b5b3c 100644 +--- a/svgui/layer/WaveformLayer.cpp ++++ b/svgui/layer/WaveformLayer.cpp +@@ -27,6 +27,7 @@ + #include "data/model/WaveformOversampler.h" + + #include <QPainter> ++#include <QPainterPath> + #include <QPixmap> + #include <QTextStream> + +diff --git a/svgui/view/Overview.cpp b/svgui/view/Overview.cpp +index 7e4248a..449ba63 100644 +--- a/svgui/view/Overview.cpp ++++ b/svgui/view/Overview.cpp +@@ -20,6 +20,7 @@ + + #include <QPaintEvent> + #include <QPainter> ++#include <QPainterPath> + #include <iostream> + + //#define DEBUG_OVERVIEW 1 +-- +2.26.2 + diff --git a/media-sound/sonic-visualiser/sonic-visualiser-4.0.1.ebuild b/media-sound/sonic-visualiser/sonic-visualiser-4.0.1.ebuild index d69fb24dcd6b..9e65f200e3ff 100644 --- a/media-sound/sonic-visualiser/sonic-visualiser-4.0.1.ebuild +++ b/media-sound/sonic-visualiser/sonic-visualiser-4.0.1.ebuild @@ -59,6 +59,7 @@ REQUIRED_USE="|| ( jack pulseaudio portaudio )" PATCHES=( "${FILESDIR}/${P}-notest.patch" "${FILESDIR}/${P}-qt-deprecated.patch" + "${FILESDIR}/${P}-qt-5.15-fix.patch" ) sv_disable_opt() { |