summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2018-10-11 23:36:39 +1100
committerMichael Palimaka <kensington@gentoo.org>2018-10-11 23:42:38 +1100
commit0304bd779c2d41f0a71e39839bf8a009917ffe46 (patch)
tree3bfa53415dfa33bb41a1ba715cb77a106e8afa87 /media-sound/sonic-visualiser
parentdev-python/pytest: propagate ~amd64-fbsd keyword (diff)
downloadgentoo-0304bd779c2d41f0a71e39839bf8a009917ffe46.tar.gz
gentoo-0304bd779c2d41f0a71e39839bf8a009917ffe46.tar.bz2
gentoo-0304bd779c2d41f0a71e39839bf8a009917ffe46.zip
media-sound/sonic-visualiser: fix build with Qt 5.11
Closes: https://bugs.gentoo.org/664628 Signed-off-by: Michael Palimaka <kensington@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
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"