summaryrefslogtreecommitdiffstats
path: root/office/qpdfview-qt5/qt-5.15.patch
diff options
context:
space:
mode:
Diffstat (limited to 'office/qpdfview-qt5/qt-5.15.patch')
-rw-r--r--office/qpdfview-qt5/qt-5.15.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/office/qpdfview-qt5/qt-5.15.patch b/office/qpdfview-qt5/qt-5.15.patch
new file mode 100644
index 0000000000..ca48432b85
--- /dev/null
+++ b/office/qpdfview-qt5/qt-5.15.patch
@@ -0,0 +1,24 @@
+Index: qpdfview-0.4.18/sources/djvumodel.cpp
+===================================================================
+--- qpdfview-0.4.18.orig/sources/djvumodel.cpp
++++ qpdfview-0.4.18/sources/djvumodel.cpp
+@@ -29,6 +29,7 @@ along with qpdfview. If not, see <http:
+ #include <cstdio>
+
+ #include <QFile>
++#include <QPainterPath>
+ #include <qmath.h>
+
+ #if defined(Q_OS_WIN) && defined(DJVU_STATIC)
+Index: qpdfview-0.4.18/sources/model.h
+===================================================================
+--- qpdfview-0.4.18.orig/sources/model.h
++++ qpdfview-0.4.18/sources/model.h
+@@ -27,6 +27,7 @@ along with qpdfview. If not, see <http:
+ #include <QtPlugin>
+ #include <QWidget>
+ #include <QVector>
++#include <QPainterPath>
+
+ class QAbstractItemModel;
+ class QColor;