commit: d84040f2ada52a9a01e555158ab835c0296b0356 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sat May 30 09:27:20 2020 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sat May 30 09:31:06 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d84040f2
app-text/qpdfview: Fix build with Qt 5.15 Thanks-to: Petr Zima <zima <AT> matfyz.cz> Closes: https://bugs.gentoo.org/726064 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> app-text/qpdfview/files/qpdfview-0.4.18-qt-5.15.patch | 11 +++++++++++ app-text/qpdfview/qpdfview-0.4.18.ebuild | 2 ++ 2 files changed, 13 insertions(+) diff --git a/app-text/qpdfview/files/qpdfview-0.4.18-qt-5.15.patch b/app-text/qpdfview/files/qpdfview-0.4.18-qt-5.15.patch new file mode 100644 index 00000000000..b19f247a7c3 --- /dev/null +++ b/app-text/qpdfview/files/qpdfview-0.4.18-qt-5.15.patch @@ -0,0 +1,11 @@ +diff -ur qpdfview-0.4.18.orig/sources/model.h qpdfview-0.4.18/sources/model.h +--- a/sources/model.h 2019-07-24 21:18:33.000000000 +0200 ++++ b/sources/model.h 2020-05-29 11:44:33.012891583 +0200 +@@ -27,6 +27,7 @@ + #include <QtPlugin> + #include <QWidget> + #include <QVector> ++#include <QPainterPath> + + class QAbstractItemModel; + class QColor; diff --git a/app-text/qpdfview/qpdfview-0.4.18.ebuild b/app-text/qpdfview/qpdfview-0.4.18.ebuild index 5e1fefad37b..de52c7c7b92 100644 --- a/app-text/qpdfview/qpdfview-0.4.18.ebuild +++ b/app-text/qpdfview/qpdfview-0.4.18.ebuild @@ -42,6 +42,8 @@ DEPEND="${RDEPEND}" DOCS=( CHANGES CONTRIBUTORS README TODO ) +PATCHES=( "${FILESDIR}/${P}-qt-5.15.patch" ) # bug 726064 + src_prepare() { default
