diff --git a/fix-missing-includes-with-qt-5.15.patch b/fix-missing-includes-with-qt-5.15.patch new file mode 100644 index 0000000..f169521 --- /dev/null +++ b/fix-missing-includes-with-qt-5.15.patch @@ -0,0 +1,36 @@ +Index: vlc-3.0.8/modules/gui/qt/util/timetooltip.hpp +=================================================================== +--- vlc-3.0.8.orig/modules/gui/qt/util/timetooltip.hpp ++++ vlc-3.0.8/modules/gui/qt/util/timetooltip.hpp +@@ -25,6 +25,7 @@ + #include "qt.hpp" + + #include ++#include + + class TimeTooltip : public QWidget + { +Index: vlc-3.0.8/modules/gui/qt/components/playlist/views.cpp +=================================================================== +--- vlc-3.0.8.orig/modules/gui/qt/components/playlist/views.cpp ++++ vlc-3.0.8/modules/gui/qt/components/playlist/views.cpp +@@ -27,6 +27,7 @@ + #include "input_manager.hpp" /* THEMIM */ + + #include ++#include + #include + #include + #include +Index: vlc-3.0.8/modules/gui/qt/dialogs/plugins.cpp +=================================================================== +--- vlc-3.0.8.orig/modules/gui/qt/dialogs/plugins.cpp ++++ vlc-3.0.8/modules/gui/qt/dialogs/plugins.cpp +@@ -53,6 +53,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/vlc.changes b/vlc.changes index 371e313..a022db0 100644 --- a/vlc.changes +++ b/vlc.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 27 09:23:26 UTC 2020 - Antonio Larrosa + +- Add patch to fix missing include with Qt 5.15: + * fix-missing-includes-with-qt-5.15.patch + ------------------------------------------------------------------- Thu Jan 23 13:06:03 UTC 2020 - Dominique Leuenberger diff --git a/vlc.spec b/vlc.spec index b24f506..3de76a7 100644 --- a/vlc.spec +++ b/vlc.spec @@ -57,6 +57,8 @@ Patch101: 0001-Fix-leaking-AvahiServiceResolver-in-the-error-paths.patch Patch102: 0002-Add-Avahi-implementation-for-chromecast-renderer-dis.patch # PATCH-FIX-UPSTREAM -- Use OpenCV C++ API Patch103: 0001-Port-OpenCV-facedetect-example-to-C-API.patch +# PATCH-FIX-UPSTREAM -- Fix building with Qt 5.15 by adding a missing include +Patch104: fix-missing-includes-with-qt-5.15.patch BuildRequires: Mesa-devel BuildRequires: aalib-devel BuildRequires: alsa-devel >= 1.0.24 @@ -404,6 +406,7 @@ OpenCV based video filters and a face detection example. %patch101 -p1 %patch102 -p1 %patch103 -p1 +%patch104 -p1 ### And LUA 5.3.1 has some more API changes if pkg-config --atleast-version 5.3.1 lua; then