pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xf86-input-mouse xf86-input-mouse-1.3.0nb2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ec8ecaa780b
branches:  trunk
changeset: 555942:9ec8ecaa780b
user:      apb <apb%pkgsrc.org@localhost>
date:      Sat Mar 14 11:09:37 2009 +0000

description:
xf86-input-mouse-1.3.0nb2.
Apply the following patch from NetBSD xsrc/external/mit/xf86-input-mouse;
thanks to joerg for providing a list of changes to apply.

2009-02-02 03:05  christos

        * src/mouse.c (1.2):

        Call a SetupMouse function to condition the fd.

diffstat:

 x11/xf86-input-mouse/Makefile         |   4 ++--
 x11/xf86-input-mouse/distinfo         |   3 ++-
 x11/xf86-input-mouse/patches/patch-ab |  24 ++++++++++++++++++++++++
 3 files changed, 28 insertions(+), 3 deletions(-)

diffs (53 lines):

diff -r a7b1681a3564 -r 9ec8ecaa780b x11/xf86-input-mouse/Makefile
--- a/x11/xf86-input-mouse/Makefile     Sat Mar 14 11:00:21 2009 +0000
+++ b/x11/xf86-input-mouse/Makefile     Sat Mar 14 11:09:37 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2008/09/18 20:57:52 bjs Exp $
+# $NetBSD: Makefile,v 1.9 2009/03/14 11:09:37 apb Exp $
 
 DISTNAME=      xf86-input-mouse-1.3.0
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_XORG:=driver/}
 EXTRACT_SUFX=  .tar.bz2
diff -r a7b1681a3564 -r 9ec8ecaa780b x11/xf86-input-mouse/distinfo
--- a/x11/xf86-input-mouse/distinfo     Sat Mar 14 11:00:21 2009 +0000
+++ b/x11/xf86-input-mouse/distinfo     Sat Mar 14 11:09:37 2009 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2008/05/30 10:54:57 wiz Exp $
+$NetBSD: distinfo,v 1.7 2009/03/14 11:09:37 apb Exp $
 
 SHA1 (xf86-input-mouse-1.3.0.tar.bz2) = 79ecd994b2820d24a00d4c4af9aa9189bdd9db93
 RMD160 (xf86-input-mouse-1.3.0.tar.bz2) = a691e809e61e14e2383f1d4533b0eb454373667f
 Size (xf86-input-mouse-1.3.0.tar.bz2) = 282157 bytes
 SHA1 (patch-aa) = baf529a3ae260e98fb068cb9549f749705d8213b
+SHA1 (patch-ab) = 632ec0e3908ccd16678a480b5ffa00dba7db640f
diff -r a7b1681a3564 -r 9ec8ecaa780b x11/xf86-input-mouse/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xf86-input-mouse/patches/patch-ab     Sat Mar 14 11:09:37 2009 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ab,v 1.1 2009/03/14 11:09:37 apb Exp $
+
+Changes from NetBSD xsrc/external/mit/xf86-input-mouse/dist/\
+src/mouse.c
+
+----------------------------
+revision 1.2
+date: 2009/02/02 03:05:35;  author: christos;  state: Exp;  lines: +4 -0
+Call a SetupMouse function to condition the fd.
+----------------------------
+
+--- src/mouse.c.orig   2008-03-20 20:55:51.000000000 +0200
++++ src/mouse.c
+@@ -2538,6 +2538,10 @@ SetupMouse(InputInfoPtr pInfo)
+     Bool automatic = FALSE;
+ 
+     pMse = pInfo->private;
++
++    if (osInfo->SetupMouse)
++      if (!osInfo->SetupMouse(pInfo))
++          return FALSE;
+     
+     /* Handle the "Auto" protocol. */
+     if (pMse->protocolID == PROT_AUTO) {



Home | Main Index | Thread Index | Old Index