freebsd-ports/multimedia/gstreamer-plugins-bad/files/patch-ext_opencv_gstfacedetect.h
Steve Wills 532105a93c graphics/opencv: Update to 3.4.1
PR:		210505
Submitted by:	rozhuk.im@gmail.com (partially, further work was done)
Exp-run by:	antoine
2018-05-09 01:10:11 +00:00

13 lines
424 B
C

--- 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 */