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

--- m4/input.m4	2010-03-21 00:29:58.000000000 +0100
+++ m4/input.m4	2011-11-16 15:59:40.674878245 +0100
@@ -92,7 +92,7 @@
     XINE_ARG_ENABLE([v4l], [Enable Video4Linux support])
     if test x"$enable_v4l" != x"no"; then
         have_v4l=yes
-        AC_CHECK_HEADERS([linux/videodev.h], , [have_v4l=no])
+        AC_CHECK_HEADERS([libv4l1-videodev.h], , [have_v4l=no])
         AC_CHECK_HEADERS([asm/types.h])
         if test x"$hard_enable_v4l" = x"yes" && test x"$have_v4l" != x"yes"; then
             AC_MSG_ERROR([Video4Linux support requested, but prerequisite headers not found.])
--- src/input/input_v4l.c	2011-10-05 22:44:39.000000000 +0200
+++ src/input/input_v4l.c	2011-11-16 15:35:43.075546420 +0100
@@ -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