media-sound/qtscrobbler: Fix build with Qt 5.11

Closes: https://bugs.gentoo.org/661078
Package-Manager: Portage-2.3.41, Repoman-2.3.9
This commit is contained in:
Andreas Sturmlechner
2018-07-14 15:42:10 +02:00
parent 2fcf9b36e8
commit dcfdb3ab78
2 changed files with 28 additions and 1 deletions
@@ -0,0 +1,24 @@
From 11d70c80a634aaf1606a435688dddbc3db36b7ff Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
Date: Sat, 14 Jul 2018 15:35:25 +0200
Subject: [PATCH] Fix build with Qt 5.11
---
src/qt/src/qtscrob.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/qt/src/qtscrob.cpp b/src/qt/src/qtscrob.cpp
index 5b7a561..c6084e3 100644
--- a/src/qt/src/qtscrob.cpp
+++ b/src/qt/src/qtscrob.cpp
@@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
+#include <QHeaderView>
#include <QtGui>
#include <QTime>
#include "qtscrob.h"
--
2.18.0
@@ -30,7 +30,10 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MY_PN}-code-${COMMIT}"
PATCHES=( "${FILESDIR}"/${P}-qt5.patch )
PATCHES=(
"${FILESDIR}"/${P}-qt5.patch
"${FILESDIR}"/${P}-qt5.11.patch
)
src_configure() {
pushd src >/dev/null