summaryrefslogtreecommitdiff
path: root/user/frei0r-plugins/facebl0r-opencv-3.4.3.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-09 21:47:25 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-09 21:47:25 +0000
commit78159b78f7196acfa1ec3786f8bd261318f6d74e (patch)
tree9bf94a25c56f444543da430e124a26e5ba564389 /user/frei0r-plugins/facebl0r-opencv-3.4.3.patch
parentfa7c3ae8f679113a3a08906c19df74b55fbb8dc2 (diff)
downloadpackages-78159b78f7196acfa1ec3786f8bd261318f6d74e.tar.gz
packages-78159b78f7196acfa1ec3786f8bd261318f6d74e.tar.bz2
packages-78159b78f7196acfa1ec3786f8bd261318f6d74e.tar.xz
packages-78159b78f7196acfa1ec3786f8bd261318f6d74e.zip
user/frei0r-plugins: fix build with OpenCV 3.4.3
Diffstat (limited to 'user/frei0r-plugins/facebl0r-opencv-3.4.3.patch')
-rw-r--r--user/frei0r-plugins/facebl0r-opencv-3.4.3.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/user/frei0r-plugins/facebl0r-opencv-3.4.3.patch b/user/frei0r-plugins/facebl0r-opencv-3.4.3.patch
new file mode 100644
index 000000000..f3d4f46bb
--- /dev/null
+++ b/user/frei0r-plugins/facebl0r-opencv-3.4.3.patch
@@ -0,0 +1,22 @@
+From b0a06d52e39438fae2afbf98bafe6c794d13b83e Mon Sep 17 00:00:00 2001
+From: Christoph Willing <chris.willing@linux.com>
+Date: Sat, 14 Jul 2018 21:34:03 +1000
+Subject: [PATCH] Include opencv2/imgproc.hpp for CV_RGB()
+
+Signed-off-by: Christoph Willing <chris.willing@linux.com>
+---
+ 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 <stdlib.h>
+ #include <opencv/cv.h>
+ #include <opencv/highgui.h>
++#include <opencv2/imgproc.hpp>
+
+ #include <frei0r.hpp>
+ #include <frei0r_math.h>