commit:     fad8e40540caee7cd8890220735cf85ca13d2f14
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 17 21:45:14 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Mar 17 23:10:36 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fad8e405

app-mobilephone/qtadb: Fix build with Qt 5.11

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 | 14 ++++++++++++++
 app-mobilephone/qtadb/qtadb-0.8.1-r1.ebuild            |  5 ++++-
 2 files changed, 18 insertions(+), 1 deletion(-)

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
index 00000000000..49cd4938481
--- /dev/null
+++ b/app-mobilephone/qtadb/files/qtadb-0.8.1-qt5-5.11.patch
@@ -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"
+ #include "ui_filewidget.h"
+ 
+-#include <QStandardPaths>
++#include <QHeaderView>
+ #include <QMenu>
+ #include <QScrollBar>
++#include <QStandardPaths>
+ 
+ quint32 qbytearrayToInt32(QByteArray array)
+ {

diff --git a/app-mobilephone/qtadb/qtadb-0.8.1-r1.ebuild 
b/app-mobilephone/qtadb/qtadb-0.8.1-r1.ebuild
index 9aeb80eef39..1c1f0633793 100644
--- a/app-mobilephone/qtadb/qtadb-0.8.1-r1.ebuild
+++ b/app-mobilephone/qtadb/qtadb-0.8.1-r1.ebuild
@@ -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}"
 

Reply via email to