From a33db7193fe775c9cf752b354db18131dd44a48f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 2 Sep 2020 14:46:40 +0200 Subject: [PATCH] OpenOrienteering-Mapper: fix build w/ qt5-5.15.0 (QPainterPath) --- .../patches/QPainterPath.patch | 86 +++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 srcpkgs/OpenOrienteering-Mapper/patches/QPainterPath.patch diff --git a/srcpkgs/OpenOrienteering-Mapper/patches/QPainterPath.patch b/srcpkgs/OpenOrienteering-Mapper/patches/QPainterPath.patch new file mode 100644 index 0000000000..d699cab596 --- /dev/null +++ b/srcpkgs/OpenOrienteering-Mapper/patches/QPainterPath.patch @@ -0,0 +1,86 @@ +--- src/core/renderables/renderable.h 2020-05-15 19:47:28.000000000 +0200 ++++ src/core/renderables/renderable.h 2020-09-02 14:37:36.038494590 +0200 +@@ -32,9 +32,9 @@ + + #include "core/map_color.h" + +-class QColor; +-class QPainter; +-class QPainterPath; ++#include ++#include ++#include + // IWYU pragma: no_forward_declare QRectF + + namespace OpenOrienteering { +--- src/core/renderables/renderable_implementation.cpp 2020-05-15 19:47:28.000000000 +0200 ++++ src/core/renderables/renderable_implementation.cpp 2020-09-02 14:37:49.659495293 +0200 +@@ -31,6 +31,7 @@ + #include + #include + #include ++#include + #include + #include + #include +--- src/core/symbols/point_symbol.h 2020-05-15 19:47:28.000000000 +0200 ++++ src/core/symbols/point_symbol.h 2020-09-02 14:36:40.203491709 +0200 +@@ -32,7 +32,7 @@ + + // IWYU pragma: no_include "core/objects/object.h" + +-class QPainterPath; ++#include + class QXmlStreamReader; + class QXmlStreamWriter; + +--- src/gui/print_tool.cpp 2020-05-15 19:47:28.000000000 +0200 ++++ src/gui/print_tool.cpp 2020-09-02 14:38:03.720496018 +0200 +@@ -25,6 +25,7 @@ + + #include + #include ++#include + + #include "core/map.h" + #include "core/map_printer.h" +--- src/printsupport/qt-5.12.4/advanced_pdf.cpp 2020-05-15 19:47:28.000000000 +0200 ++++ src/printsupport/qt-5.12.4/advanced_pdf.cpp 2020-09-02 14:40:12.152502644 +0200 +@@ -43,6 +43,7 @@ + #include + #include + #include ++#include + + #ifndef QT_NO_COMPRESS + #include +--- src/printsupport/qt-5.12.4/advanced_pdf_p.h 2020-05-15 19:47:28.000000000 +0200 ++++ src/printsupport/qt-5.12.4/advanced_pdf_p.h 2020-09-02 14:39:39.432500956 +0200 +@@ -43,6 +43,7 @@ + #ifndef QT_NO_PDF + + #include "QtGui/qmatrix.h" ++#include "QtGui/qpainterpath.h" + #include "QtCore/qstring.h" + #include "QtCore/qvector.h" + #include +--- src/printsupport/qt-5.5.1/advanced_pdf.cpp 2020-05-15 19:47:28.000000000 +0200 ++++ src/printsupport/qt-5.5.1/advanced_pdf.cpp 2020-09-02 14:39:10.743499476 +0200 +@@ -47,6 +47,7 @@ + #include + #include "qbuffer.h" + #include "QtCore/qdatetime.h" ++#include + + #ifndef QT_NO_COMPRESS + #include +--- src/printsupport/qt-5.5.1/advanced_pdf_p.h 2020-05-15 19:47:28.000000000 +0200 ++++ src/printsupport/qt-5.5.1/advanced_pdf_p.h 2020-09-02 14:38:36.436497706 +0200 +@@ -49,6 +49,7 @@ + #ifndef QT_NO_PDF + + #include "QtGui/qmatrix.h" ++#include "QtGui/qpainterpath.h" + #include "QtCore/qstring.h" + #include "QtCore/qvector.h" + #include