diff options
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() { |