[packages/xorg-driver-video-v4l] - fix building with xserver 1.17 - rel 20

baggins baggins at pld-linux.org
Sun Feb 22 15:22:20 CET 2015


commit a35719eb746c69e70b0f0b99812fc118689a417c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Feb 22 15:22:04 2015 +0100

    - fix building with xserver 1.17
    - rel 20

 build-fix.patch            | 14 ++++++++++++++
 xorg-driver-video-v4l.spec |  4 +++-
 2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/xorg-driver-video-v4l.spec b/xorg-driver-video-v4l.spec
index 428addd..d5c4f02 100644
--- a/xorg-driver-video-v4l.spec
+++ b/xorg-driver-video-v4l.spec
@@ -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}
diff --git a/build-fix.patch b/build-fix.patch
new file mode 100644
index 0000000..febba2c
--- /dev/null
+++ b/build-fix.patch
@@ -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);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xorg-driver-video-v4l.git/commitdiff/a35719eb746c69e70b0f0b99812fc118689a417c



More information about the pld-cvs-commit mailing list