View | Details | Raw Unified | Return to bug 148955
Collapse All | Expand All

(-)graphics/opencv/Makefile (-1 / +1 lines)
Lines 135-141 CMAKE_ARGS+= -DWITH_TIFF:BOOL=Off Link Here
135
.endif
135
.endif
136
136
137
.if !defined(WITHOUT_V4L)
137
.if !defined(WITHOUT_V4L)
138
BUILD_DEPENDS+=	${LOCALBASE}/include/linux/videodev.h:${PORTSDIR}/multimedia/v4l_compat
138
LIB_DEPENDS+=	v4l2.0:${PORTSDIR}/multimedia/libv4l
139
CMAKE_ARGS+=	-DWITH_V4L:BOOL=On \
139
CMAKE_ARGS+=	-DWITH_V4L:BOOL=On \
140
		-DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include"
140
		-DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include"
141
.else
141
.else
(-)graphics/opencv/files/patch-apps-traincascade-imagestorage.h (+10 lines)
Added Link Here
1
--- apps/traincascade/imagestorage.h~
2
+++ apps/traincascade/imagestorage.h
3
@@ -1,6 +1,7 @@
4
 #ifndef _OPENCV_IMAGESTORAGE_H_
5
 #define _OPENCV_IMAGESTORAGE_H_
6
 
7
+#include <cstdio>
8
 #include <highgui.h>
9
 
10
 using namespace cv;
(-)graphics/opencv/files/patch-samples-c-image.cpp (+7 lines)
Added Link Here
1
--- samples/c/image.cpp~
2
+++ samples/c/image.cpp
3
@@ -1,3 +1,4 @@
4
+#include <cstdio>
5
 #include "cv.h" // include standard OpenCV headers, same as before
6
 #include "highgui.h"
7
 

Return to bug 148955