Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 1ad11fd2456b7f2b24e08b66ccf39ed6 > files > 4

gambas2-2.23.0-1.fc14.src.rpm

diff -up gambas2-2.22.0/gb.v4l/configure.ac.BAD gambas2-2.22.0/gb.v4l/configure.ac
--- gambas2-2.22.0/gb.v4l/configure.ac.BAD	2011-03-21 10:58:48.210501001 -0400
+++ gambas2-2.22.0/gb.v4l/configure.ac	2011-03-21 11:00:50.189501023 -0400
@@ -10,9 +10,9 @@ GB_COMPONENT(
   V4L,
   [Video For Linux component],
   [src],
-  [GB_FIND(png.h jpeglib.h linux/videodev.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.22.0/gb.v4l/src/CWebcam.h.BAD gambas2-2.22.0/gb.v4l/src/CWebcam.h
--- gambas2-2.22.0/gb.v4l/src/CWebcam.h.BAD	2011-03-21 10:59:11.383500624 -0400
+++ gambas2-2.22.0/gb.v4l/src/CWebcam.h	2011-03-21 10:59:24.582501047 -0400
@@ -35,7 +35,7 @@
 #include <sys/types.h>
 #include <sys/ioctl.h>
 #include <linux/types.h>
-#include <linux/videodev.h>
+#include <libv4l1-videodev.h>
 #include <linux/videodev2.h>
 
 #include "gambas.h"