- evdev 2.2.2
This commit is contained in:
parent
44dfda2aa4
commit
5a70b24264
@ -1 +1 @@
|
|||||||
xf86-input-evdev-2.2.1.tar.bz2
|
xf86-input-evdev-2.2.2.tar.bz2
|
||||||
|
@ -1,29 +0,0 @@
|
|||||||
From 98ecb5233bb3b899bd696a90d2733c6a345676dd Mon Sep 17 00:00:00 2001
|
|
||||||
From: Peter Hutterer <peter.hutterer@who-t.net>
|
|
||||||
Date: Mon, 6 Apr 2009 10:22:25 +1000
|
|
||||||
Subject: [PATCH] Trigger read error handling if len is <= 0.
|
|
||||||
|
|
||||||
Red Hat Bug 494245 <https://bugzilla.redhat.com/show_bug.cgi?id=494245>
|
|
||||||
|
|
||||||
Reported-by: David Woodhouse <dwmw2@infradead.org>
|
|
||||||
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
||||||
---
|
|
||||||
src/evdev.c | 2 +-
|
|
||||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/evdev.c b/src/evdev.c
|
|
||||||
index f65359f..43a90be 100644
|
|
||||||
--- a/src/evdev.c
|
|
||||||
+++ b/src/evdev.c
|
|
||||||
@@ -565,7 +565,7 @@ EvdevReadInput(InputInfoPtr pInfo)
|
|
||||||
while (len == sizeof(ev))
|
|
||||||
{
|
|
||||||
len = read(pInfo->fd, &ev, sizeof(ev));
|
|
||||||
- if (len == 0)
|
|
||||||
+ if (len <= 0)
|
|
||||||
{
|
|
||||||
if (errno == ENODEV) /* May happen after resume */
|
|
||||||
{
|
|
||||||
--
|
|
||||||
1.6.0.6
|
|
||||||
|
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
ed0ec2f11a2fc94355d083a03e2f9844 xf86-input-evdev-2.2.1.tar.bz2
|
23341f098e7fe8ec13ef06ef784ac51a xf86-input-evdev-2.2.2.tar.bz2
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
Summary: Xorg X11 evdev input driver
|
Summary: Xorg X11 evdev input driver
|
||||||
Name: xorg-x11-drv-evdev
|
Name: xorg-x11-drv-evdev
|
||||||
Version: 2.2.1
|
Version: 2.2.2
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
URL: http://www.x.org
|
URL: http://www.x.org
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: User Interface/X Hardware Support
|
Group: User Interface/X Hardware Support
|
||||||
@ -17,8 +17,6 @@ Source0: ftp://ftp.x.org/pub/individual/driver/%{tarball}-%{version}.tar.bz2
|
|||||||
#Source0: %{tarball}-%{gitdate}.tar.bz2
|
#Source0: %{tarball}-%{gitdate}.tar.bz2
|
||||||
#Source1: make-git-snapshot.sh
|
#Source1: make-git-snapshot.sh
|
||||||
|
|
||||||
Patch1: evdev-2.2.1-read-deadlock.patch
|
|
||||||
|
|
||||||
ExcludeArch: s390 s390x
|
ExcludeArch: s390 s390x
|
||||||
|
|
||||||
BuildRequires: autoconf automake libtool
|
BuildRequires: autoconf automake libtool
|
||||||
@ -35,9 +33,6 @@ X.Org X11 evdev input driver.
|
|||||||
#%setup -q -n %{tarball}-%{gitdate}
|
#%setup -q -n %{tarball}-%{gitdate}
|
||||||
%setup -q -n %{tarball}-%{version}
|
%setup -q -n %{tarball}-%{version}
|
||||||
|
|
||||||
# apply patches
|
|
||||||
%patch1 -p1 -b .read-deadlock
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -v --install || exit 1
|
autoreconf -v --install || exit 1
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
@ -75,6 +70,9 @@ X.Org X11 evdev input driver development files.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 07 2009 Peter Hutterer <peter.hutterer@redhat.com> 2.2.2-1
|
||||||
|
- evdev 2.2.2
|
||||||
|
|
||||||
* Mon Apr 06 2009 Peter Hutterer <peter.hutterer@redhat.com> 2.2.1-2
|
* Mon Apr 06 2009 Peter Hutterer <peter.hutterer@redhat.com> 2.2.1-2
|
||||||
- evdev-2.2.1-read-deadlock.patch: handle read errors on len <= 0 (#494245)
|
- evdev-2.2.1-read-deadlock.patch: handle read errors on len <= 0 (#494245)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user