aboutsummaryrefslogtreecommitdiff
path: root/graphics/opencv
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2010-04-19 01:37:38 +0000
committerDima Panov <fluffy@FreeBSD.org>2010-04-19 01:37:38 +0000
commit948c25b514e72fd49037e399da8fee3daf5737b9 (patch)
treeec775beb5cb2334394328dec1ad1116a9049ca06 /graphics/opencv
parent39d9dab56270d2b5b302c35e2ca124c2757c6c67 (diff)
downloadports-948c25b514e72fd49037e399da8fee3daf5737b9.tar.gz
ports-948c25b514e72fd49037e399da8fee3daf5737b9.zip
- Really unbroke with fresh v4l support
Approved by: avilla (maintaner via irc)
Notes
Notes: svn path=/head/; revision=252891
Diffstat (limited to 'graphics/opencv')
-rw-r--r--graphics/opencv/files/patch-src-highgui-cvcap_libv4l.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/opencv/files/patch-src-highgui-cvcap_libv4l.cpp b/graphics/opencv/files/patch-src-highgui-cvcap_libv4l.cpp
new file mode 100644
index 000000000000..7f55f7a1eeeb
--- /dev/null
+++ b/graphics/opencv/files/patch-src-highgui-cvcap_libv4l.cpp
@@ -0,0 +1,20 @@
+--- src/highgui/cvcap_libv4l.cpp.orig 2009-10-01 11:20:58.000000000 +1100
++++ src/highgui/cvcap_libv4l.cpp 2010-04-15 22:27:16.647412519 +1100
+@@ -214,7 +214,6 @@
+ #include <sys/mman.h>
+ #include <string.h>
+ #include <stdlib.h>
+-#include <asm/types.h> /* for videodev2.h */
+ #include <assert.h>
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+@@ -466,8 +465,7 @@
+
+ static void v4l2_scan_controls(CvCaptureCAM_V4L* capture)
+ {
+-
+- __u32 ctrl_id;
++ uint32_t ctrl_id;
+
+ for (ctrl_id = V4L2_CID_BASE;
+ ctrl_id < V4L2_CID_LASTP1;