package init
This commit is contained in:
parent
c374b6a8f0
commit
6da7f68053
22
27.diff
22
27.diff
@ -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>
|
||||
@ -6,8 +6,6 @@ License: GPLv2+
|
||||
URL: https://github.com/dyne/frei0r
|
||||
Source0: https://github.com/dyne/frei0r/arvhive/frei0r-plugins-%{version}.tar.gz
|
||||
|
||||
Patch0001: 27.diff
|
||||
|
||||
BuildRequires: libtool gcc-c++ gavl-devel cairo-devel
|
||||
|
||||
%description
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user