From fac9b0514dde9904f0ecb66425a1e47e59536711 Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Sat, 28 May 2022 01:03:44 +0000 Subject: user/qpdfview: add patch for missing header. fixes #721. --- user/qpdfview/APKBUILD | 9 ++++++--- user/qpdfview/qpdfview-0.4.18-qt-5.15.patch | 11 +++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 user/qpdfview/qpdfview-0.4.18-qt-5.15.patch diff --git a/user/qpdfview/APKBUILD b/user/qpdfview/APKBUILD index 4d37c6ad4..5e6f4d467 100644 --- a/user/qpdfview/APKBUILD +++ b/user/qpdfview/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Max Rees pkgname=qpdfview pkgver=0.4.18 -pkgrel=1 +pkgrel=2 pkgdesc="A tabbed document viewer" url="https://launchpad.net/qpdfview" arch="all" @@ -12,7 +12,9 @@ depends="" makedepends="cups-dev djvulibre-dev gnutls-dev libspectre-dev poppler-dev poppler-qt5-dev qt5-qttools-dev qt5-qtbase-dev qt5-qtsvg-dev" subpackages="$pkgname-doc" -source="https://launchpad.net/qpdfview/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz" +source="https://launchpad.net/qpdfview/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz + qpdfview-0.4.18-qt-5.15.patch + " build() { lrelease qpdfview.pro @@ -24,4 +26,5 @@ package() { make INSTALL_ROOT="$pkgdir" install } -sha512sums="38741520b20e3ed7100e52982930abac26e994a69df68c54dfa7180be8b2a4f377b91ba03993bab67b0a505ad79d62164f0f168a6715f4306b635ceba6840d66 qpdfview-0.4.18.tar.gz" +sha512sums="38741520b20e3ed7100e52982930abac26e994a69df68c54dfa7180be8b2a4f377b91ba03993bab67b0a505ad79d62164f0f168a6715f4306b635ceba6840d66 qpdfview-0.4.18.tar.gz +ac6a742b957eb192117aece45cef8f2a9d76fe45d4cc87246dba8e52a15ac11c6892175fd73c8af3bd22a34ff36645828a5f12d66c240b6305d9621387fc3261 qpdfview-0.4.18-qt-5.15.patch" diff --git a/user/qpdfview/qpdfview-0.4.18-qt-5.15.patch b/user/qpdfview/qpdfview-0.4.18-qt-5.15.patch new file mode 100644 index 000000000..b19f247a7 --- /dev/null +++ b/user/qpdfview/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 + #include + #include ++#include + + class QAbstractItemModel; + class QColor; -- cgit v1.2.3-70-g09d2