diff --git a/SOURCES/Include-opencv2-imgproc-hpp-for-CV_RGB.patch b/SOURCES/Include-opencv2-imgproc-hpp-for-CV_RGB.patch new file mode 100644 index 0000000..f3d4f46 --- /dev/null +++ b/SOURCES/Include-opencv2-imgproc-hpp-for-CV_RGB.patch @@ -0,0 +1,22 @@ +From b0a06d52e39438fae2afbf98bafe6c794d13b83e Mon Sep 17 00:00:00 2001 +From: Christoph Willing +Date: Sat, 14 Jul 2018 21:34:03 +1000 +Subject: [PATCH] Include opencv2/imgproc.hpp for CV_RGB() + +Signed-off-by: Christoph Willing +--- + src/filter/facebl0r/facebl0r.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/filter/facebl0r/facebl0r.cpp b/src/filter/facebl0r/facebl0r.cpp +index 6d6e8f2..823462a 100644 +--- a/src/filter/facebl0r/facebl0r.cpp ++++ b/src/filter/facebl0r/facebl0r.cpp +@@ -19,6 +19,7 @@ + #include + #include + #include ++#include + + #include + #include diff --git a/SPECS/frei0r-plugins.spec b/SPECS/frei0r-plugins.spec index d899a0e..4aee69b 100644 --- a/SPECS/frei0r-plugins.spec +++ b/SPECS/frei0r-plugins.spec @@ -1,11 +1,13 @@ Name: frei0r-plugins Version: 1.6.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Frei0r - a minimalist plugin API for video effects License: GPLv2+ URL: https://frei0r.dyne.org/ Source0: https://github.com/dyne/frei0r/archive/v%{version}/frei0r-plugins-%{version}.tar.gz +# https://github.com/dyne/frei0r/commit/b0a06d52e39438fae2afbf98bafe6c794d13b83e.patch +Patch0: Include-opencv2-imgproc-hpp-for-CV_RGB.patch Buildrequires: libtool @@ -35,7 +37,7 @@ The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep -%autosetup -n frei0r-%{version} +%autosetup -n frei0r-%{version} -p1 %build @@ -69,6 +71,11 @@ rm -rf %{buildroot}%{_docdir}/%{name} %{_libdir}/pkgconfig/frei0r.pc %changelog +* Fri Jul 10 2020 Tomas Popela - 1.6.1-7 +- Rebuild with newer annobin to fix rpmdiff problems +- Fix the build with a newer opencv +- Resolves: rhbz#1703994 + * Thu Jul 26 2018 Josh Boyer - 1.6.1-6 - Rebuild for opencv soname bump (rhbz 1597591)