--- /dev/null
+--- opencv-4.5.1/modules/gapi/test/gapi_async_test.cpp~ 2020-12-21 21:01:38.000000000 +0100
++++ opencv-4.5.1/modules/gapi/test/gapi_async_test.cpp 2021-11-25 09:37:36.975911938 +0100
+@@ -13,6 +13,7 @@
+
+ #include <condition_variable>
+ #include <stdexcept>
++#include <thread>
+
+ namespace opencv_test
+ {
Summary(pl.UTF-8): Biblioteka funkcji do grafiki komputerowej w czasie rzeczywistym
Name: opencv
Version: 4.5.1
-Release: 4
+Release: 5
Epoch: 1
%if %{with unicap} || %{with xine}
License: GPL (enforced by used libraries), BSD (opencv itself)
Patch1: python-install.patch
Patch2: pkgconfig-paths.patch
Patch3: no-cxx-in-c-header.patch
+Patch4: gcc11.patch
URL: http://www.opencv.org/
%{?with_pvapi:BuildRequires: AVT_GigE_SDK-devel}
%{?with_opencl:BuildRequires: OpenCL-devel}
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
cache_file() {
f="$1"