aboutsummaryrefslogtreecommitdiff
path: root/print/qpdfview
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-05-21 10:59:20 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-05-21 10:59:20 +0000
commitb4d9fb7202d5d131ee1b7b07a26c58f0c6f9c221 (patch)
tree81c36112491b96da1dccecd1424fd3c2a5f6d833 /print/qpdfview
parent11d8060789a65b17c35b54caba5a0b23e09f250a (diff)
downloadports-b4d9fb7202d5d131ee1b7b07a26c58f0c6f9c221.tar.gz
ports-b4d9fb7202d5d131ee1b7b07a26c58f0c6f9c221.zip
print/qpdfview: prepare for Qt5-5.15
Notes
Notes: svn path=/head/; revision=536108
Diffstat (limited to 'print/qpdfview')
-rw-r--r--print/qpdfview/files/patch-sources_djvumodel.cpp10
-rw-r--r--print/qpdfview/files/patch-sources_model.h10
2 files changed, 20 insertions, 0 deletions
diff --git a/print/qpdfview/files/patch-sources_djvumodel.cpp b/print/qpdfview/files/patch-sources_djvumodel.cpp
new file mode 100644
index 000000000000..6a3b2a1bfb95
--- /dev/null
+++ b/print/qpdfview/files/patch-sources_djvumodel.cpp
@@ -0,0 +1,10 @@
+--- sources/djvumodel.cpp.orig 2020-05-21 10:55:32 UTC
++++ sources/djvumodel.cpp
+@@ -29,6 +29,7 @@ along with qpdfview. If not, see <http://www.gnu.org/
+ #include <cstdio>
+
+ #include <QFile>
++#include <QPainterPath>
+ #include <qmath.h>
+
+ #if defined(Q_OS_WIN) && defined(DJVU_STATIC)
diff --git a/print/qpdfview/files/patch-sources_model.h b/print/qpdfview/files/patch-sources_model.h
new file mode 100644
index 000000000000..bd0d0b752480
--- /dev/null
+++ b/print/qpdfview/files/patch-sources_model.h
@@ -0,0 +1,10 @@
+--- sources/model.h.orig 2020-05-21 10:55:32 UTC
++++ sources/model.h
+@@ -27,6 +27,7 @@ along with qpdfview. If not, see <http://www.gnu.org/
+ #include <QtPlugin>
+ #include <QWidget>
+ #include <QVector>
++#include <QPainterPath>
+
+ class QAbstractItemModel;
+ class QColor;