summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/sonic-visualiser')
-rw-r--r--media-sound/sonic-visualiser/files/sonic-visualiser-3.1.1-qt-5.11.patch12
-rw-r--r--media-sound/sonic-visualiser/sonic-visualiser-3.1.1.ebuild7
2 files changed, 17 insertions, 2 deletions
diff --git a/media-sound/sonic-visualiser/files/sonic-visualiser-3.1.1-qt-5.11.patch b/media-sound/sonic-visualiser/files/sonic-visualiser-3.1.1-qt-5.11.patch
new file mode 100644
index 000000000000..5d62677128b4
--- /dev/null
+++ b/media-sound/sonic-visualiser/files/sonic-visualiser-3.1.1-qt-5.11.patch
@@ -0,0 +1,12 @@
+Bug: https://bugs.gentoo.org/664628
+
+--- a/svapp/audio/AudioCallbackRecordTarget.cpp
++++ b/svapp/audio/AudioCallbackRecordTarget.cpp
+@@ -19,6 +19,7 @@
+
+ #include "data/model/WritableWaveFileModel.h"
+
++#include <QDateTime>
+ #include <QDir>
+ #include <QTimer>
+
diff --git a/media-sound/sonic-visualiser/sonic-visualiser-3.1.1.ebuild b/media-sound/sonic-visualiser/sonic-visualiser-3.1.1.ebuild
index feed92ce32e0..264d383f4b8b 100644
--- a/media-sound/sonic-visualiser/sonic-visualiser-3.1.1.ebuild
+++ b/media-sound/sonic-visualiser/sonic-visualiser-3.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -53,7 +53,10 @@ DEPEND="${RDEPEND}
REQUIRED_USE="|| ( jack pulseaudio portaudio )"
-PATCHES=( "${FILESDIR}/notest.patch" )
+PATCHES=(
+ "${FILESDIR}/notest.patch"
+ "${FILESDIR}/${P}-qt-5.11.patch"
+)
sv_disable_opt() {
einfo "Disabling $1"