ports/graphics/opencv/files/patch-modules__highgui__src__cap_v4l.cpp
Jason E. Hale 3a64305d43 - Update graphics/*opencv* to 2.4.7
- Revert options helpers to if statements since the OFF condition is not
  applied when OPTIONS_EXCLUDE is used
- Move most of the OpenCV modules from the graphics/opencv-core port to
  graphics/opencv, leaving opencv-core as just the bare minimum required
  for building ffmpeg with OpenCV support
- Install examples for python and java bindings
- Add new slave port graphics/opencv-java: Java bindings for OpenCV
- Bump PORTREVISION and make dependency adjustments and fixes for
  dependent ports
- Add UPDATING entry
2013-12-04 02:51:00 +00:00

19 lines
508 B
C++

--- ./modules/highgui/src/cap_v4l.cpp.orig 2013-10-23 23:54:06.000000000 -0400
+++ ./modules/highgui/src/cap_v4l.cpp 2013-10-23 23:55:25.000000000 -0400
@@ -232,7 +232,6 @@
#include <sys/ioctl.h>
#ifdef HAVE_CAMV4L2
-#include <asm/types.h> /* for videodev2.h */
#include <linux/videodev2.h>
#endif
@@ -663,7 +662,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;