public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/opencv] opencv5: Fix missing #include for gcc-11
@ 2026-08-28 13:31 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2026-08-28 13:31 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/opencv
Branch : opencv5
Commit : 8d08ab7e12b04adfa93417908cedb556191327c2
Author : Jeff Law <law@redhat.com>
Date   : 2020-12-05T16:35:23-07:00
Stats  : +18/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/8d08ab7e12b04adfa93417908cedb556191327c2?branch=opencv5

Log:
Fix missing #include for gcc-11

---
diff --git a/opencv-gcc11.patch b/opencv-gcc11.patch
new file mode 100644
index 0000000..a51a741
--- /dev/null
+++ b/opencv-gcc11.patch
@@ -0,0 +1,12 @@
+diff --git a/modules/gapi/test/gapi_async_test.cpp b/modules/gapi/test/gapi_async_test.cpp
+index 66b8be4..aa0c9c7 100644
+--- a/modules/gapi/test/gapi_async_test.cpp
++++ b/modules/gapi/test/gapi_async_test.cpp
+@@ -13,6 +13,7 @@
+ 
+ #include <condition_variable>
+ #include <stdexcept>
++#include <thread>
+ 
+ namespace opencv_test
+ {

diff --git a/opencv.spec b/opencv.spec
index 967af71..ec01a3a 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -45,7 +45,7 @@ Name:           opencv
 Version:        4.5.0
 %global javaver %(foo=%{version}; echo ${foo//./})
 %global abiver  %(foo=%{version}; echo ${foo:0:3})
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Collection of algorithms for computer vision
 # This is normal three clause BSD.
 License:        BSD
@@ -64,6 +64,7 @@ Source4:        b624b995ec9c439cbc2e9e6ee940d3a2-v0.1.1f.zip
 Source5:        xorg.conf
 
 Patch0:         opencv-4.1.0-install_3rdparty_licenses.patch
+Patch1:         %{name}-gcc11.patch
 
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
@@ -242,6 +243,7 @@ popd &>/dev/null
 %endif
 
 %patch0 -p1 -b .install_3rdparty_licenses
+%patch1 -p1 -b .gcc11
 
 pushd %{name}_contrib-%{version}
 popd
@@ -461,6 +463,9 @@ ln -s -r %{buildroot}%{_jnidir}/opencv-%{javaver}.jar %{buildroot}%{_jnidir}/ope
 %{_libdir}/libopencv_xphoto.so.%{abiver}*
 
 %changelog
+* Sat Dec  5 2020 Jeff Law <law@redhat.com> - 4.5.0-3
+- Fix missing #include for gcc-11
+
 * Fri Nov  6 22:47:45 CET 2020 Sandro Mani <manisandro@gmail.com> - 4.5.0-2
 - Rebuild (proj, gdal)
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-28 13:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-28 13:31 [rpms/opencv] opencv5: Fix missing #include for gcc-11 Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox