media-sound/qtscrobbler: Fix build with Qt 5.11
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 14 Jul 2018 13:42:10 +0000 (15:42 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 14 Jul 2018 13:42:10 +0000 (15:42 +0200)
Closes: https://bugs.gentoo.org/661078
Package-Manager: Portage-2.3.41, Repoman-2.3.9

media-sound/qtscrobbler/files/qtscrobbler-0.11_pre20130123-qt5.11.patch [new file with mode: 0644]
media-sound/qtscrobbler/qtscrobbler-0.11_pre20130123.ebuild

diff --git a/media-sound/qtscrobbler/files/qtscrobbler-0.11_pre20130123-qt5.11.patch b/media-sound/qtscrobbler/files/qtscrobbler-0.11_pre20130123-qt5.11.patch
new file mode 100644 (file)
index 0000000..33781a4
--- /dev/null
@@ -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
+
index dc4f5ac6824ad178705d9f262bcff835917a7d39..3dc54d6064d0363e25d4334758b2852e5ab0015f 100644 (file)
@@ -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