Dave Plater
b7b6f2549c
OBS-URL: https://build.opensuse.org/package/show/multimedia:xine/xine-lib?expand=0&rev=89
23 lines
891 B
Diff
23 lines
891 B
Diff
--- m4/input.m4 2014-02-26 16:49:10.000000000 +0100
|
|
+++ m4/input.m4 2014-04-11 23:22:34.923765318 +0200
|
|
@@ -96,7 +96,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 2014-03-11 14:28:30.000000000 +0100
|
|
+++ src/input/input_v4l.c 2014-04-11 23:22:34.926765238 +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>
|