File xine-lib-v4l-2.6.38.patch of Package xine-lib

--- configure.ac.orig	2011-07-07 10:45:26.462089794 +0200
+++ configure.ac	2011-07-07 10:46:04.415089790 +0200
@@ -682,7 +682,7 @@
 have_v4l=no
 have_v4l2=no
 if test "x$enable_v4l" != "xno"; then
-  AC_CHECK_HEADERS([linux/videodev.h], [have_v4l=yes], [])
+  AC_CHECK_HEADERS([libv4l1-videodev.h], [have_v4l=yes], [])
   AC_CHECK_HEADERS([linux/videodev2.h sys/videoio.h sys/videodev2.h], [have_v4l2=yes], [])
   AC_CHECK_HEADERS([asm/types.h])
   if test "x$enable_v4l" = "xyes" && test "x$have_v4l$have_v4l2" = "xnono"; then
--- src/input/input_v4l.c	2010-03-09 23:17:05.000000000 +0100
+++ src/input/input_v4l.c	2011-07-07 10:46:27.694089788 +0200
@@ -47,7 +47,7 @@
 */
 #define _LINUX_TIME_H
 
-#include <linux/videodev.h>
+#include <libv4l1-videodev.h>
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 #include <errno.h>
openSUSE Build Service is sponsored by