aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gstreamer-plugins-bad/files/patch-ext_opencv_gstfacedetect.h
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2018-05-09 01:10:11 +0000
committerSteve Wills <swills@FreeBSD.org>2018-05-09 01:10:11 +0000
commit532105a93cf41f4fe7a4666875c156eabae2ae75 (patch)
tree61c3b03ca83f7ee408d0e57d069b884202696225 /multimedia/gstreamer-plugins-bad/files/patch-ext_opencv_gstfacedetect.h
parent07485881725782b3552ec708bd2ec7ca164f918a (diff)
downloadports-532105a93cf41f4fe7a4666875c156eabae2ae75.tar.gz
ports-532105a93cf41f4fe7a4666875c156eabae2ae75.zip
graphics/opencv: Update to 3.4.1
PR: 210505 Submitted by: rozhuk.im@gmail.com (partially, further work was done) Exp-run by: antoine
Notes
Notes: svn path=/head/; revision=469420
Diffstat (limited to 'multimedia/gstreamer-plugins-bad/files/patch-ext_opencv_gstfacedetect.h')
-rw-r--r--multimedia/gstreamer-plugins-bad/files/patch-ext_opencv_gstfacedetect.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins-bad/files/patch-ext_opencv_gstfacedetect.h b/multimedia/gstreamer-plugins-bad/files/patch-ext_opencv_gstfacedetect.h
new file mode 100644
index 000000000000..31d7a3965d12
--- /dev/null
+++ b/multimedia/gstreamer-plugins-bad/files/patch-ext_opencv_gstfacedetect.h
@@ -0,0 +1,13 @@
+--- ext/opencv/gstfacedetect.h.orig 2011-12-30 13:24:28.000000000 -0500
++++ ext/opencv/gstfacedetect.h 2018-05-02 15:58:32.074608000 -0400
+@@ -51,9 +51,7 @@
+ #include <cv.h>
+ #include "gstopencvvideofilter.h"
+
+-#if (CV_MAJOR_VERSION >= 2) && (CV_MINOR_VERSION >= 2)
+-#include <opencv2/objdetect/objdetect.hpp>
+-#endif
++#include <opencv2/imgcodecs/imgcodecs_c.h>
+
+ G_BEGIN_DECLS
+ /* #defines don't like whitespacey bits */