Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
pwlib
pwlib-v4l-2.6.38.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pwlib-v4l-2.6.38.patch of Package pwlib
diff -ur pwlib_v1_11_0.orig/configure.ac pwlib_v1_11_0/configure.ac --- pwlib_v1_11_0.orig/configure.ac 2011-07-07 12:44:57.529088939 +0200 +++ pwlib_v1_11_0/configure.ac 2011-07-07 12:45:37.910088934 +0200 @@ -1548,7 +1548,7 @@ dnl ######################################################################## dnl check for video capture support. -dnl videodev.h on linux +dnl libv4l1-videodev.h on linux dnl machine/ioctl_meteor on FreeBSD dnl i386/ioctl_meteor on OpenBSD dnl dev/ic/bt8xx on NetBSD @@ -1574,7 +1574,7 @@ HAS_VIDEO=1 HAS_VIDEO_CAPTURE=1 else - AC_CHECK_HEADER(linux/videodev.h, HAS_VIDEO_CAPTURE=1) + AC_CHECK_HEADER(libv4l1-videodev.h, HAS_VIDEO_CAPTURE=1) dnl AC_CHECK_HEADER(machine/ioctl_meteor.h, HAS_VIDEO_CAPTURE=1) dnl AC_CHECK_HEADER(i386/ioctl_meteor.h, HAS_VIDEO_CAPTURE=1) dnl AC_CHECK_HEADER(dev/ic/bt8xx.h, HAS_VIDEO_CAPTURE=1) diff -ur pwlib_v1_11_0.orig/include/ptlib/unix/ptlib/videoio.h pwlib_v1_11_0/include/ptlib/unix/ptlib/videoio.h --- pwlib_v1_11_0.orig/include/ptlib/unix/ptlib/videoio.h 2011-07-07 12:44:57.578088939 +0200 +++ pwlib_v1_11_0/include/ptlib/unix/ptlib/videoio.h 2011-07-07 12:46:15.830088929 +0200 @@ -103,7 +103,7 @@ */ #if defined(P_LINUX) && !defined(NO_VIDEO_CAPTURE) -#include <linux/videodev.h> /* change this to "videodev2.h" for v4l2 */ +#include <libv4l1-videodev.h> /* change this to "videodev2.h" for v4l2 */ #endif #if defined(P_FREEBSD) diff -ur pwlib_v1_11_0.orig/plugins/configure.in pwlib_v1_11_0/plugins/configure.in --- pwlib_v1_11_0.orig/plugins/configure.in 2011-07-07 12:44:57.580088939 +0200 +++ pwlib_v1_11_0/plugins/configure.in 2011-07-07 12:53:21.555088876 +0200 @@ -111,7 +111,7 @@ AC_ARG_ENABLE(v4l, [ --enable-v4l enable V4L video support],,enable_v4l=yes) if test "${enable_v4l}z" = "yesz" ; then - AC_CHECK_HEADER(linux/videodev.h, V4LHDR=1) + AC_CHECK_HEADER(libv4l1-videodev.h, V4LHDR=1) AC_MSG_CHECKING(for V4L video support) if test "${V4LHDR}z" != "z"; then AC_SUBST(HAS_V4L, 1) diff -ur pwlib_v1_11_0.orig/plugins/vidinput_v4l/vidinput_v4l.h pwlib_v1_11_0/plugins/vidinput_v4l/vidinput_v4l.h --- pwlib_v1_11_0.orig/plugins/vidinput_v4l/vidinput_v4l.h 2011-07-07 12:44:57.580088939 +0200 +++ pwlib_v1_11_0/plugins/vidinput_v4l/vidinput_v4l.h 2011-07-07 12:45:53.582088932 +0200 @@ -6,7 +6,7 @@ #include <ptlib/videoio.h> #include <ptlib/vconvert.h> -#include <linux/videodev.h> +#include <libv4l1-videodev.h> class PVideoInputDevice_V4L: public PVideoInputDevice { diff -ur pwlib_v1_11_0.orig/plugins/vidinput_v4l2/vidinput_v4l2.h pwlib_v1_11_0/plugins/vidinput_v4l2/vidinput_v4l2.h --- pwlib_v1_11_0.orig/plugins/vidinput_v4l2/vidinput_v4l2.h 2011-07-07 12:44:57.581088939 +0200 +++ pwlib_v1_11_0/plugins/vidinput_v4l2/vidinput_v4l2.h 2011-07-07 12:55:12.650088866 +0200 @@ -69,7 +69,8 @@ #include <ptlib/videoio.h> #include <ptlib/vconvert.h> -#include <linux/videodev.h> +#include <libv4l1-videodev.h> +#include <linux/videodev2.h> #ifndef V4L2_PIX_FMT_SBGGR8 #define V4L2_PIX_FMT_SBGGR8 v4l2_fourcc('B','A','8','1') /* 8 BGBG.. GRGR.. */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor