]> git.pld-linux.org Git - packages/xorg-driver-video-v4l.git/commitdiff
- fix building with xserver 1.17 auto/th/xorg-driver-video-v4l-0.2.0-20
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 22 Feb 2015 14:22:04 +0000 (15:22 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 22 Feb 2015 14:22:04 +0000 (15:22 +0100)
- rel 20

build-fix.patch [new file with mode: 0644]
xorg-driver-video-v4l.spec

diff --git a/build-fix.patch b/build-fix.patch
new file mode 100644 (file)
index 0000000..febba2c
--- /dev/null
@@ -0,0 +1,14 @@
+diff -up xf86-video-v4l-0.2.0/src/v4l.c~ xf86-video-v4l-0.2.0/src/v4l.c
+--- xf86-video-v4l-0.2.0/src/v4l.c~    2015-02-11 17:42:55.000000000 +0100
++++ xf86-video-v4l-0.2.0/src/v4l.c     2015-02-11 17:44:33.432706357 +0100
+@@ -42,6 +42,10 @@
+ # define DEBUG(x)
+ #endif
++#ifndef VIDEO_INVERT_CLIPLIST
++#define VIDEO_INVERT_CLIPLIST 0x00000002
++#endif
++
+ /***************************************************************************/
+ static void     V4LIdentify(int flags);
index 428adddca4b6e56af12284d7c6ecf4d6fdf2b1b3..d5c4f026b72cf93e1462b37a3e2b78ae811c5663 100644 (file)
@@ -2,13 +2,14 @@ Summary:      X.org video driver for video4linux cards
 Summary(pl.UTF-8):     Sterownik obrazu X.org dla kart video4linux
 Name:          xorg-driver-video-v4l
 Version:       0.2.0
-Release:       19
+Release:       20
 License:       MIT
 Group:         X11/Applications
 Source0:       http://xorg.freedesktop.org/releases/individual/driver/xf86-video-v4l-%{version}.tar.bz2
 # Source0-md5: 2251ae2a0a905764941cd7b098e85ad1
 Patch0:                support_v4l2_only_drivers.patch
 Patch1:                am.patch
+Patch2:                build-fix.patch
 URL:           http://xorg.freedesktop.org/
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake
@@ -42,6 +43,7 @@ telewizyjne bt848/bt878.
 %setup -q -n xf86-video-v4l-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__libtoolize}
This page took 0.088011 seconds and 4 git commands to generate.