Unbreak build after recent Qt 5.15 update.

Add missing QPainterPath include
This commit is contained in:
rsadowski 2021-01-19 06:39:07 +00:00
parent bf3605a76a
commit 2c4794b4c8
3 changed files with 26 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.38 2020/10/28 17:52:16 kirby Exp $
# $OpenBSD: Makefile,v 1.39 2021/01/19 06:39:07 rsadowski Exp $
COMMENT = seafile client
@ -8,6 +8,7 @@ GH_PROJECT = seafile-client
# this commit is from the "v7.0.10" tag
GH_COMMIT = 5722c864659a142193cc45737fa7118f9782504f
DISTNAME = seafile-client-7.0.10pl20201026
REVISION = 0
WANTLIB += Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Widgets c
WANTLIB += crypto event_core event_extra gio-2.0 glib-2.0 gobject-2.0

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_ui_events-list-view_cpp,v 1.1 2021/01/19 06:39:07 rsadowski Exp $
Index: src/ui/events-list-view.cpp
--- src/ui/events-list-view.cpp.orig
+++ src/ui/events-list-view.cpp
@@ -1,4 +1,5 @@
#include <QPainter>
+#include <QPainterPath>
#include <QApplication>
#include <QPixmap>
#include <QToolTip>

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_ui_private-share-dialog_cpp,v 1.1 2021/01/19 06:39:07 rsadowski Exp $
Index: src/ui/private-share-dialog.cpp
--- src/ui/private-share-dialog.cpp.orig
+++ src/ui/private-share-dialog.cpp
@@ -2,6 +2,7 @@
#include <QCompleter>
#include <QLineEdit>
#include <QPainter>
+#include <QPainterPath>
#include <QResizeEvent>
#include <QStringList>
#include <QStringListModel>