diff --git a/srcpkgs/qwt/patches/qt5-5.15.0.patch b/srcpkgs/qwt/patches/qt5-5.15.0.patch new file mode 100644 index 0000000000..20ebd1d39f --- /dev/null +++ b/srcpkgs/qwt/patches/qt5-5.15.0.patch @@ -0,0 +1,58 @@ +Source: @pullmoll +Upstream: no +Reason: qt5-5.15.0 requires explicit include for QPainterPath + +--- src/qwt_painter.h 2019-01-02 17:21:30.232435482 +0100 ++++ src/qwt_painter.h 2020-07-14 16:47:54.577577031 +0200 +@@ -17,6 +17,7 @@ + #include + #include + #include ++#include + + class QPainter; + class QBrush; +@@ -31,7 +32,6 @@ + class QwtInterval; + + class QTextDocument; +-class QPainterPath; + + /*! + \brief A collection of QPainter workarounds +--- src/qwt_null_paintdevice.cpp 2019-01-02 17:21:31.296461212 +0100 ++++ src/qwt_null_paintdevice.cpp 2020-07-14 16:49:13.479579545 +0200 +@@ -9,6 +9,7 @@ + + #include "qwt_null_paintdevice.h" + #include ++#include + #include + + class QwtNullPaintDevice::PrivateData +--- src/qwt_painter_command.h 2019-01-02 17:21:30.320437610 +0100 ++++ src/qwt_painter_command.h 2020-07-14 16:50:38.501582253 +0200 +@@ -12,12 +12,11 @@ + + #include "qwt_global.h" + #include ++#include + #include + #include + #include + +-class QPainterPath; +- + /*! + QwtPainterCommand represents the attributes of a paint operation + how it is used between QPainter and QPaintDevice +--- src/qwt_plot_glcanvas.h 2019-01-02 17:21:30.204434804 +0100 ++++ src/qwt_plot_glcanvas.h 2020-07-14 16:52:54.074586572 +0200 +@@ -13,6 +13,7 @@ + #include "qwt_global.h" + #include + #include ++#include + + class QwtPlot; +