package init

This commit is contained in:
orange-snn 2020-03-06 17:28:26 +08:00
parent c374b6a8f0
commit 6da7f68053
2 changed files with 0 additions and 24 deletions

22
27.diff
View File

@ -1,22 +0,0 @@
diff --git a/src/filter/facebl0r/facebl0r.cpp b/src/filter/facebl0r/facebl0r.cpp
index 6d6e8f2..10fcdb7 100644
--- a/src/filter/facebl0r/facebl0r.cpp
+++ b/src/filter/facebl0r/facebl0r.cpp
@@ -15,10 +15,17 @@
*/
+#include <opencv2/core/version.hpp>
+#define CV_VERSION_NUM (CV_VERSION_MAJOR * 10000 \
+ + CV_VERSION_MINOR * 100 \
+ + CV_VERSION_REVISION)
#include <stdio.h>
#include <stdlib.h>
#include <opencv/cv.h>
#include <opencv/highgui.h>
+#if CV_VERSION_NUM > 30401
+#include <opencv2/imgproc.hpp>
+#endif
#include <frei0r.hpp>
#include <frei0r_math.h>

View File

@ -6,8 +6,6 @@ License: GPLv2+
URL: https://github.com/dyne/frei0r URL: https://github.com/dyne/frei0r
Source0: https://github.com/dyne/frei0r/arvhive/frei0r-plugins-%{version}.tar.gz Source0: https://github.com/dyne/frei0r/arvhive/frei0r-plugins-%{version}.tar.gz
Patch0001: 27.diff
BuildRequires: libtool gcc-c++ gavl-devel cairo-devel BuildRequires: libtool gcc-c++ gavl-devel cairo-devel
%description %description