package/vlc: fix missing headers when compiling with Qt 5.15
authorBernd Kuhls <bernd.kuhls@t-online.de>
Mon, 27 Jul 2020 06:51:36 +0000 (08:51 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Mon, 27 Jul 2020 08:00:46 +0000 (10:00 +0200)
Fixes
http://autobuild.buildroot.net/results/832/832226c43549befda7e8c86a52354e7d6adc0a98/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/vlc/0011-qt-fix-missing-header-when-compiling-with-Qt-5.15.patch [new file with mode: 0644]

diff --git a/package/vlc/0011-qt-fix-missing-header-when-compiling-with-Qt-5.15.patch b/package/vlc/0011-qt-fix-missing-header-when-compiling-with-Qt-5.15.patch
new file mode 100644 (file)
index 0000000..1693511
--- /dev/null
@@ -0,0 +1,56 @@
+From a44d2f3aa6075fb6e63da75f84a257294d21d161 Mon Sep 17 00:00:00 2001
+From: Pierre Lamot <pierre@videolabs.io>
+Date: Wed, 27 May 2020 11:05:53 +0200
+Subject: [PATCH] qt: fix missing header when compiling with Qt 5.15
+
+Upstream bug report: https://trac.videolan.org/vlc/ticket/24882
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+[backported upstream commit for modules/gui/qt/dialogs/plugins.cpp
+ http://git.videolan.org/?p=vlc.git;a=patch;h=0e88143ed2fe8eedfa4d3afdafcd0df901644c1d
+ the other two patches were proposed on the upstream bugtracker]
+---
+ modules/gui/qt/components/playlist/views.cpp | 1 +
+ modules/gui/qt/dialogs/plugins.cpp           | 1 +
+ modules/gui/qt/util/timetooltip.hpp          | 1 +
+ 3 files changed, 3 insertions(+)
+
+diff --git a/modules/gui/qt/components/playlist/views.cpp b/modules/gui/qt/components/playlist/views.cpp
+index ecc6b9918d..d3fd76da1a 100644
+--- a/modules/gui/qt/components/playlist/views.cpp
++++ b/modules/gui/qt/components/playlist/views.cpp
+@@ -35,6 +35,7 @@
+ #include <QMetaType>
+ #include <QHeaderView>
+ #include <QSvgRenderer>
++#include <QPainterPath>
+ #include <assert.h>
+diff --git a/modules/gui/qt/dialogs/plugins.cpp b/modules/gui/qt/dialogs/plugins.cpp
+index 93c92b9fa6..e05ec0594a 100644
+--- a/modules/gui/qt/dialogs/plugins.cpp
++++ b/modules/gui/qt/dialogs/plugins.cpp
+@@ -66,6 +66,7 @@
+ #include <QSplitter>
+ #include <QToolButton>
+ #include <QStackedWidget>
++#include <QPainterPath>
+ //match the image source (width/height)
+ #define SCORE_ICON_WIDTH_SCALE 4
+diff --git a/modules/gui/qt/util/timetooltip.hpp b/modules/gui/qt/util/timetooltip.hpp
+index b6d7c646c9..f213eac459 100644
+--- a/modules/gui/qt/util/timetooltip.hpp
++++ b/modules/gui/qt/util/timetooltip.hpp
+@@ -25,6 +25,7 @@
+ #include "qt.hpp"
+ #include <QWidget>
++#include <QPainterPath>
+ class TimeTooltip : public QWidget
+ {
+-- 
+2.27.0
+