public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jeff Law <law@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Fix missing #include for gcc-11
Date: Fri, 28 Aug 2026 13:31:48 GMT	[thread overview]
Message-ID: <178792390857.1.17317039403754906044.rpms-opencv-8d08ab7e12b0@fedoraproject.org> (raw)

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)
 

                 reply	other threads:[~2026-08-28 13:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178792390857.1.17317039403754906044.rpms-opencv-8d08ab7e12b0@fedoraproject.org \
    --to=law@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox