Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package opencv for openSUSE:Factory checked 
in at 2022-08-27 11:50:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opencv (Old)
 and      /work/SRC/openSUSE:Factory/.opencv.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "opencv"

Sat Aug 27 11:50:05 2022 rev:97 rq:999412 version:4.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/opencv/opencv.changes    2022-06-28 
15:22:12.485927681 +0200
+++ /work/SRC/openSUSE:Factory/.opencv.new.2083/opencv.changes  2022-08-27 
11:50:07.629847852 +0200
@@ -1,0 +2,6 @@
+Tue Aug 23 11:22:38 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Add upstream change to fix include issue with FFmpeg 5:
+  * opencv-ffmpeg5.patch
+
+-------------------------------------------------------------------

New:
----
  opencv-ffmpeg5.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ opencv.spec ++++++
--- /var/tmp/diff_new_pack.ztbGVP/_old  2022-08-27 11:50:08.945850680 +0200
+++ /var/tmp/diff_new_pack.ztbGVP/_new  2022-08-27 11:50:08.949850688 +0200
@@ -40,6 +40,8 @@
 Source0:        
https://github.com/opencv/opencv/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 # Several modules from the opencv_contrib package
 Source1:        
https://github.com/opencv/opencv_contrib/archive/%{version}.tar.gz#/opencv_contrib-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM FFmpeg 5 include fix
+Patch0:         opencv-ffmpeg5.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  libeigen3-devel

++++++ opencv-ffmpeg5.patch ++++++
>From 496eed950f6d0e7fd92619d47e3cec8f06e96ace Mon Sep 17 00:00:00 2001
From: Jochen Sprickerhof <jspri...@debian.org>
Date: Mon, 8 Aug 2022 21:10:13 +0200
Subject: [PATCH] Add missing header for LIBAVCODEC_VERSION_INT

---
 modules/videoio/src/ffmpeg_codecs.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/videoio/src/ffmpeg_codecs.hpp 
b/modules/videoio/src/ffmpeg_codecs.hpp
index 61788e0345a6..faad2596edc5 100644
--- a/modules/videoio/src/ffmpeg_codecs.hpp
+++ b/modules/videoio/src/ffmpeg_codecs.hpp
@@ -60,6 +60,7 @@ extern "C" {
 #include <errno.h>
 #endif
 
+#include <libavcodec/version.h>
 #include <libavformat/avformat.h>
 
 #ifdef __cplusplus

Reply via email to