Unbreak build after recent Qt 5.15 update.

Add missing QPainterPath include
This commit is contained in:
rsadowski 2021-01-19 06:43:19 +00:00
parent 83be7df425
commit eb4240b22e
3 changed files with 28 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.26 2020/05/20 15:43:22 bcallah Exp $
# $OpenBSD: Makefile,v 1.27 2021/01/19 06:43:19 rsadowski Exp $
COMMENT = collaborative drawing program
DISTNAME = drawpile-2.1.17
CATEGORIES = graphics x11
REVISION = 0
HOMEPAGE = https://drawpile.net/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_desktop_bundled_QtColorWidgets_color_wheel_cpp,v 1.1 2021/01/19 06:43:19 rsadowski Exp $
Index: src/desktop/bundled/QtColorWidgets/color_wheel.cpp
--- src/desktop/bundled/QtColorWidgets/color_wheel.cpp.orig
+++ src/desktop/bundled/QtColorWidgets/color_wheel.cpp
@@ -25,6 +25,7 @@
#include <QtMath>
#include <QMouseEvent>
#include <QPainter>
+#include <QPainterPath>
#include <QLineF>
#include <QDragEnterEvent>
#include <QMimeData>

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_desktop_widgets_popupmessage_h,v 1.1 2021/01/19 06:43:19 rsadowski Exp $
Index: src/desktop/widgets/popupmessage.h
--- src/desktop/widgets/popupmessage.h.orig
+++ src/desktop/widgets/popupmessage.h
@@ -20,6 +20,7 @@
#define POPUPMESSAGE_H
#include <QWidget>
+#include <QPainterPath>
class QTextDocument;
class QTimer;