diff --git a/adapt-to-qt-5.15.patch b/adapt-to-qt-5.15.patch new file mode 100644 index 0000000..661d8db --- /dev/null +++ b/adapt-to-qt-5.15.patch @@ -0,0 +1,22 @@ +From 924edeccfaaddf483959b8cf140f13ef64420378 Mon Sep 17 00:00:00 2001 +From: Volker Kohaupt +Date: Sat, 6 Jun 2020 08:42:07 +0200 +Subject: [PATCH] Adapted to Qt 5.15.0 + +--- + src/region/QvkRegionButtonArrow.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/region/QvkRegionButtonArrow.cpp b/src/region/QvkRegionButtonArrow.cpp +index 984048b0..82987915 100644 +--- a/src/region/QvkRegionButtonArrow.cpp ++++ b/src/region/QvkRegionButtonArrow.cpp +@@ -22,6 +22,8 @@ + + #include "QvkRegionButtonArrow.h" + ++#include ++ + QvkRegionButtonArrow::QvkRegionButtonArrow() + { + } diff --git a/vokoscreenNG.changes b/vokoscreenNG.changes index 9fd4920..2d964aa 100644 --- a/vokoscreenNG.changes +++ b/vokoscreenNG.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jun 8 11:33:18 UTC 2020 - Marcel Kuehlhorn + +- added adapt-to-qt-5.15.patch + * upstream fix for Qt 5.15 build failure + ------------------------------------------------------------------- Thu Apr 30 12:03:33 UTC 2020 - Marcel Kuehlhorn diff --git a/vokoscreenNG.spec b/vokoscreenNG.spec index e590a7a..1a60833 100644 --- a/vokoscreenNG.spec +++ b/vokoscreenNG.spec @@ -24,6 +24,8 @@ License: GPL-2.0-only Group: Productivity/Multimedia/Other URL: https://github.com/vkohaupt/vokoscreenNG Source: https://github.com/vkohaupt/%{name}/archive/%{version}.tar.gz +# PATCH-FIX-UPSTREAM - Fix Qt 5.15 build failure +Patch0: adapt-to-qt-5.15.patch BuildRequires: gstreamer-devel BuildRequires: libqt5-linguist BuildRequires: pkgconfig @@ -62,7 +64,7 @@ Obsoletes: vokoscreen < %{version} vokoscreenNG is a user friendly Open Source screencaster for Linux and Windows. %prep -%autosetup +%autosetup -p1 %build cd src