app-mobilephone/qtadb: Fix build with Qt 5.11
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 17 Mar 2018 21:45:14 +0000 (22:45 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 17 Mar 2018 23:10:36 +0000 (00:10 +0100)
Bug: https://bugs.gentoo.org/645428
Package-Manager: Portage-2.3.24, Repoman-2.3.6

app-mobilephone/qtadb/files/qtadb-0.8.1-qt5-5.11.patch [new file with mode: 0644]
app-mobilephone/qtadb/qtadb-0.8.1-r1.ebuild

diff --git a/app-mobilephone/qtadb/files/qtadb-0.8.1-qt5-5.11.patch b/app-mobilephone/qtadb/files/qtadb-0.8.1-qt5-5.11.patch
new file mode 100644 (file)
index 0000000..49cd493
--- /dev/null
@@ -0,0 +1,14 @@
+--- a/widgets/filewidget.cpp   2014-11-22 12:44:42.000000000 +0100
++++ b/widgets/filewidget.cpp   2018-03-17 22:52:25.103930971 +0100
+@@ -21,9 +21,10 @@
+ #include "filewidget.h"\r
+ #include "ui_filewidget.h"\r
\r
+-#include <QStandardPaths>\r
++#include <QHeaderView>\r
+ #include <QMenu>\r
+ #include <QScrollBar>\r
++#include <QStandardPaths>\r
\r
+ quint32 qbytearrayToInt32(QByteArray array)\r
+ {\r
index 9aeb80eef39923804cbc7c91ca1188d019f66525..1c1f06337939df8b635039cf27bd5440a7b2e4f2 100644 (file)
@@ -26,7 +26,10 @@ DEPEND="${RDEPEND}
        app-arch/unzip
 "
 
-PATCHES=( "${FILESDIR}"/${P}-qt5.patch )
+PATCHES=(
+       "${FILESDIR}"/${P}-qt5.patch
+       "${FILESDIR}"/${P}-qt5-5.11.patch
+)
 
 S="${WORKDIR}/michalmotyczko-${PN}-${COMMIT}"