packages: opencv/opencv-link.patch (NEW) - link with -lv4l2

lisu lisu at pld-linux.org
Tue Dec 7 13:32:50 CET 2010


Author: lisu                         Date: Tue Dec  7 12:32:50 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- link with -lv4l2

---- Files affected:
packages/opencv:
   opencv-link.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/opencv/opencv-link.patch
diff -u /dev/null packages/opencv/opencv-link.patch:1.1
--- /dev/null	Tue Dec  7 13:32:50 2010
+++ packages/opencv/opencv-link.patch	Tue Dec  7 13:32:45 2010
@@ -0,0 +1,10 @@
+--- OpenCV-2.2.0/CMakeLists.txt~	2010-12-07 11:47:33.354861668 +0100
++++ OpenCV-2.2.0/CMakeLists.txt	2010-12-07 12:43:06.802865668 +0100
+@@ -429,6 +429,7 @@
+         endif()
+         if(WITH_V4L)
+             CHECK_MODULE(libv4l1 HAVE_LIBV4L)
++	    CHECK_MODULE(libv4l2 HAVE_LIBV4L2)
+             CHECK_INCLUDE_FILE(linux/videodev.h HAVE_CAMV4L)
+             CHECK_INCLUDE_FILE(linux/videodev2.h HAVE_CAMV4L2)
+         else()
================================================================


More information about the pld-cvs-commit mailing list