File linphone-v4l.patch of Package linphone

diff -urN linphone-3.5.2.orig/mediastreamer2/configure.ac linphone-3.5.2/mediastreamer2/configure.ac
--- linphone-3.5.2.orig/mediastreamer2/configure.ac	2012-05-16 14:53:10.347774888 +0800
+++ linphone-3.5.2/mediastreamer2/configure.ac	2012-05-16 15:01:19.443660348 +0800
@@ -625,8 +625,8 @@
 AC_SUBST(PACKAGE_DATA_DIR)
 
 dnl check for video4linux headers
-AC_CHECK_HEADERS(linux/videodev.h linux/videodev2.h)
-if test "${ac_cv_header_linux_videodev_h}" = "yes" ; then
+AC_CHECK_HEADERS(libv4l1-videodev.h linux/videodev2.h)
+if test "${ac_cv_header_libv4l1_videodev_h}" = "yes" ; then
 	found_v4l1=yes
 else
 	found_v4l1=no
diff -urN linphone-3.5.2.orig/mediastreamer2/src/msv4l.c linphone-3.5.2/mediastreamer2/src/msv4l.c
--- linphone-3.5.2.orig/mediastreamer2/src/msv4l.c	2012-05-16 14:53:10.350774850 +0800
+++ linphone-3.5.2/mediastreamer2/src/msv4l.c	2012-05-16 15:02:29.402785738 +0800
@@ -30,7 +30,7 @@
 #include <string.h>
 #include <sys/mman.h>
 
-#include <linux/videodev.h>
+#include <libv4l1-videodev.h>
 #ifdef HAVE_LINUX_VIDEODEV2_H
 #include <linux/videodev2.h>
 #endif
openSUSE Build Service is sponsored by