Unbreak build after recent Qt 5.15 update.

Add missing QPainterPath include
This commit is contained in:
rsadowski 2021-01-19 06:54:01 +00:00
parent 3a272bd6f0
commit 89da5716a0
4 changed files with 41 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.42 2020/03/29 09:31:45 sthen Exp $
# $OpenBSD: Makefile,v 1.43 2021/01/19 06:54:01 rsadowski Exp $
COMMENT = music player
@ -6,7 +6,7 @@ GH_ACCOUNT = clementine-player
GH_PROJECT = Clementine
GH_TAGNAME = 1.4.0rc1
PKGNAME = clementine-${GH_TAGNAME}
REVISION= 0
REVISION= 1
CATEGORIES = audio x11

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_widgets_freespacebar_cpp,v 1.1 2021/01/19 06:54:01 rsadowski Exp $
Index: src/widgets/freespacebar.cpp
--- src/widgets/freespacebar.cpp.orig
+++ src/widgets/freespacebar.cpp
@@ -20,6 +20,7 @@
#include <QLinearGradient>
#include <QPainter>
+#include <QPainterPath>
const int FreeSpaceBar::kBarHeight = 20;
const int FreeSpaceBar::kBarBorderRadius = 8;

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_widgets_osdpretty_cpp,v 1.1 2021/01/19 06:54:01 rsadowski Exp $
Index: src/widgets/osdpretty.cpp
--- src/widgets/osdpretty.cpp.orig
+++ src/widgets/osdpretty.cpp
@@ -29,6 +29,7 @@
#include <QSettings>
#include <QTimer>
#include <QTimeLine>
+#include <QPainterPath>
#include <QtDebug>

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_widgets_sliderwidget_cpp,v 1.1 2021/01/19 06:54:01 rsadowski Exp $
Index: src/widgets/sliderwidget.cpp
--- src/widgets/sliderwidget.cpp.orig
+++ src/widgets/sliderwidget.cpp
@@ -24,6 +24,7 @@
#include <QBrush>
#include <QImage>
#include <QPainter>
+#include <QPainterPath>
#include <QSize>
#include <QTimer>
#include <QStyle>