summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-07-14 15:42:10 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-07-14 15:42:10 +0200
commitdcfdb3ab782b65aa5ccbaa1d2211efca7f056d00 (patch)
tree9ad22bc5f26a7a91bfb0b90bb5deee3eaaa66fa8 /media-sound
parentdev-util/qdevicemonitor: eutils -> desktop (diff)
downloadgentoo-dcfdb3ab782b65aa5ccbaa1d2211efca7f056d00.tar.gz
gentoo-dcfdb3ab782b65aa5ccbaa1d2211efca7f056d00.tar.bz2
gentoo-dcfdb3ab782b65aa5ccbaa1d2211efca7f056d00.zip
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
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/qtscrobbler/files/qtscrobbler-0.11_pre20130123-qt5.11.patch24
-rw-r--r--media-sound/qtscrobbler/qtscrobbler-0.11_pre20130123.ebuild5
2 files changed, 28 insertions, 1 deletions
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
index 000000000000..33781a4ee82f
--- /dev/null
+++ b/media-sound/qtscrobbler/files/qtscrobbler-0.11_pre20130123-qt5.11.patch
@@ -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
+
diff --git a/media-sound/qtscrobbler/qtscrobbler-0.11_pre20130123.ebuild b/media-sound/qtscrobbler/qtscrobbler-0.11_pre20130123.ebuild
index dc4f5ac6824a..3dc54d6064d0 100644
--- a/media-sound/qtscrobbler/qtscrobbler-0.11_pre20130123.ebuild
+++ b/media-sound/qtscrobbler/qtscrobbler-0.11_pre20130123.ebuild
@@ -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