Sophie

Sophie

distrib > Fedora > 16 > x86_64 > media > updates-src > by-pkgid > 3477bda03bba5a3e97b4fefc612ccef0 > files > 3

gambas2-2.24.0-1.fc16.src.rpm

diff -up gambas2-2.23.1/gb.v4l/configure.ac.libv4l1 gambas2-2.23.1/gb.v4l/configure.ac
--- gambas2-2.23.1/gb.v4l/configure.ac.libv4l1	2011-05-26 20:01:56.000000000 -0400
+++ gambas2-2.23.1/gb.v4l/configure.ac	2011-05-28 10:17:32.522507996 -0400
@@ -10,9 +10,9 @@ GB_COMPONENT(
   V4L,
   [Video For Linux component],
   [src],
-  [GB_FIND(png.h jpeglib.h linux/videodev2.h, /usr/local/lib /usr/local /usr/lib /usr, include)],
+  [GB_FIND(png.h jpeglib.h libv4l1-videodev.h linux/videodev2.h, /usr/local/lib /usr/local /usr/lib /usr, include)],
   [GB_FIND(libpng.$SHLIBEXT libjpeg.$SHLIBEXT, /usr/local /usr, lib)],
-  [$C_LIB -ljpeg -lpng])
+  [$C_LIB -ljpeg -lpng -lv4l1])
 
 AC_OUTPUT( \
 Makefile \
diff -up gambas2-2.23.1/gb.v4l/src/CWebcam.h.libv4l1 gambas2-2.23.1/gb.v4l/src/CWebcam.h
--- gambas2-2.23.1/gb.v4l/src/CWebcam.h.libv4l1	2011-05-26 20:01:55.000000000 -0400
+++ gambas2-2.23.1/gb.v4l/src/CWebcam.h	2011-05-28 10:19:52.518485101 -0400
@@ -35,9 +35,9 @@
 #include <sys/types.h>
 #include <sys/ioctl.h>
 #include <linux/types.h>
+#include <libv4l1-videodev.h>
 #include <linux/videodev2.h>
 
-#include "videodev.h"
 #include "gambas.h"
 
 #ifndef __CWEBCAM_C