public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/opencv] opencv5: Fix FTBFS with GCC 6 (#1307821), patch made by Yaakov Selkowitz.
Date: Fri, 28 Aug 2026 13:30:32 GMT	[thread overview]
Message-ID: <178792383215.1.14856641180436274155.rpms-opencv-bbd27c14403b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/opencv
Branch : opencv5
Commit : bbd27c14403b3bd4b44f3a9b8d0c13606642ff36
Author : Sérgio M. Basto <sergio@serjux.com>
Date   : 2016-03-02T02:31:32+00:00
Stats  : +7/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/opencv/c/bbd27c14403b3bd4b44f3a9b8d0c13606642ff36?branch=opencv5

Log:
Fix FTBFS with GCC 6 (#1307821), patch made by Yaakov Selkowitz.

---
diff --git a/opencv.spec b/opencv.spec
index 8749958..14d76e3 100644
--- a/opencv.spec
+++ b/opencv.spec
@@ -12,7 +12,7 @@
 
 Name:           opencv
 Version:        2.4.12.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Collection of algorithms for computer vision
 Group:          Development/Libraries
 # This is normal three clause BSD.
@@ -25,7 +25,7 @@ URL:            http://opencv.org
 # Removed because we don't use pre-built contribs
 # rm -rf 3rdparty
 # cd ..; tar Jcf opencv-clean-%%{version}.tar.xz opencv-%%{version}/
-#Source0:        https://github.com/Itseez/opencv/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+#Source0:        https://github.com/Itseez/opencv/archive/%%{version}.tar.gz#/%%{name}-%%{version}.tar.gz
 Source0:        %{name}-clean-%{version}%{?indice}.tar.xz
 Source1:        opencv-samples-Makefile
 #http://code.opencv.org/issues/2720
@@ -37,6 +37,7 @@ Patch4:         opencv-2.4.7-cmake_paths.patch
 # Fix macro usage of "list_filterout"
 # https://github.com/pld-linux/opencv/commit/dadee4672641272b129410bc097f5c199bb4fb43
 Patch5:         opencv-2.4.11-listfilterout.patch
+Patch6:         Fix-FTBFS-with-GCC-6-1307821.patch
 
 BuildRequires:  libtool
 BuildRequires:  cmake >= 2.6.3
@@ -137,6 +138,7 @@ This package contains Python bindings for the OpenCV library.
 %patch3 -p1 -b .ts_static
 %patch4 -p1 -b .cmake_paths
 %patch5 -p1 -b .listfilterout
+%patch6 -p1 -b .gcc6
 
 # fix dos end of lines
 sed -i 's|\r||g'  samples/c/adaptiveskindetector.cpp
@@ -272,6 +274,9 @@ popd
 %{python2_sitearch}/cv2.so
 
 %changelog
+* Wed Mar 02 2016 Sérgio Basto <sergio@serjux.com> - 2.4.12.3-3
+- Fix FTBFS with GCC 6 (#1307821), patch made by Yaakov Selkowitz.
+
 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.12.3-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 

                 reply	other threads:[~2026-08-28 13:30 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=178792383215.1.14856641180436274155.rpms-opencv-bbd27c14403b@fedoraproject.org \
    --to=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