[packages/opencv] - add missing header, rel 5
baggins
baggins at pld-linux.org
Thu Nov 25 09:42:12 CET 2021
commit 8a98117d5f431a252fb24895d8f1342b807a67f4
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Nov 25 09:41:50 2021 +0100
- add missing header, rel 5
gcc11.patch | 10 ++++++++++
opencv.spec | 4 +++-
2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/opencv.spec b/opencv.spec
index d766b4f..c820c2a 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -60,7 +60,7 @@ Summary: A library of programming functions mainly aimed at real time computer v
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)
@@ -106,6 +106,7 @@ Patch0: %{name}-ximea.patch
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}
@@ -333,6 +334,7 @@ Wiązania Pythona 3 do OpenCV.
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
cache_file() {
f="$1"
diff --git a/gcc11.patch b/gcc11.patch
new file mode 100644
index 0000000..74d8901
--- /dev/null
+++ b/gcc11.patch
@@ -0,0 +1,10 @@
+--- 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
+ {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/opencv.git/commitdiff/8a98117d5f431a252fb24895d8f1342b807a67f4
More information about the pld-cvs-commit
mailing list