pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/emulators Fix usb joystick driver for talkative joysti...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e230500d5bce
branches: trunk
changeset: 475782:e230500d5bce
user: dillo <dillo%pkgsrc.org@localhost>
date: Wed May 26 09:34:17 2004 +0000
description:
Fix usb joystick driver for talkative joysticks: read all available
reports and use the newest one. Bump PKGREVISION.
diffstat:
emulators/xmame/Makefile | 3 ++-
emulators/xmame/distinfo | 3 ++-
emulators/xmame/patches/patch-ab | 22 ++++++++++++++++++++++
emulators/xmess/Makefile | 3 ++-
emulators/xmess/distinfo | 3 ++-
5 files changed, 30 insertions(+), 4 deletions(-)
diffs (77 lines):
diff -r df0fd3a70f05 -r e230500d5bce emulators/xmame/Makefile
--- a/emulators/xmame/Makefile Wed May 26 08:08:31 2004 +0000
+++ b/emulators/xmame/Makefile Wed May 26 09:34:17 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.110 2004/05/16 00:27:30 kristerw Exp $
+# $NetBSD: Makefile,v 1.111 2004/05/26 09:34:17 dillo Exp $
#
DISTNAME= xmame-0.82.1
+PKGREVISION= 1
CATEGORIES= emulators games x11
MASTER_SITES= http://x.mame.net/download/
EXTRACT_SUFX= .tar.bz2
diff -r df0fd3a70f05 -r e230500d5bce emulators/xmame/distinfo
--- a/emulators/xmame/distinfo Wed May 26 08:08:31 2004 +0000
+++ b/emulators/xmame/distinfo Wed May 26 09:34:17 2004 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.49 2004/05/16 00:27:30 kristerw Exp $
+$NetBSD: distinfo,v 1.50 2004/05/26 09:34:17 dillo Exp $
SHA1 (xmame-0.82.1.tar.bz2) = a5f88a6e3e1cb2e6db37a770deeb14ae6e7829fd
Size (xmame-0.82.1.tar.bz2) = 12833581 bytes
SHA1 (patch-aa) = 0b9ffcb7c4305e7c349f229b2646acb31553d549
+SHA1 (patch-ab) = 098c3f51099136306a48929ee9f57aa6607dee2d
SHA1 (patch-ae) = df9ce91871bfcff611ff8f616482d4ff2e8204a3
diff -r df0fd3a70f05 -r e230500d5bce emulators/xmame/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/xmame/patches/patch-ab Wed May 26 09:34:17 2004 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.25 2004/05/26 09:34:17 dillo Exp $
+
+--- src/unix/joystick-drivers/joy_usb.c.orig Sun Mar 7 01:01:12 2004
++++ src/unix/joystick-drivers/joy_usb.c
+@@ -255,11 +255,14 @@ static void joy_usb_poll(void)
+
+ static int joy_read(int fd, int i)
+ {
+- int len, axis, usage, page, d;
++ int len, new, axis, usage, page, d;
+ struct hid_item *h;
+
+- len = read(fd, priv_joy_data[i].data_buf, priv_joy_data[i].dlen);
+- if (len != priv_joy_data[i].dlen)
++ new = 0;
++ while ((len=read(fd, priv_joy_data[i].data_buf, priv_joy_data[i].dlen))
++ == priv_joy_data[i].dlen)
++ new = 1;
++ if (!new)
+ return FALSE;
+
+ for (h = priv_joy_data[i].hids; h; h = h->next)
diff -r df0fd3a70f05 -r e230500d5bce emulators/xmess/Makefile
--- a/emulators/xmess/Makefile Wed May 26 08:08:31 2004 +0000
+++ b/emulators/xmess/Makefile Wed May 26 09:34:17 2004 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.51 2004/05/16 00:28:23 kristerw Exp $
+# $NetBSD: Makefile,v 1.52 2004/05/26 09:41:38 dillo Exp $
#
DISTNAME= xmame-0.82.1
PKGNAME= xmess-0.82.1
+PKGREVISION= 1
CATEGORIES= emulators games x11
MASTER_SITES= http://x.mame.net/download/
EXTRACT_SUFX= .tar.bz2
diff -r df0fd3a70f05 -r e230500d5bce emulators/xmess/distinfo
--- a/emulators/xmess/distinfo Wed May 26 08:08:31 2004 +0000
+++ b/emulators/xmess/distinfo Wed May 26 09:34:17 2004 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.23 2004/05/16 00:28:23 kristerw Exp $
+$NetBSD: distinfo,v 1.24 2004/05/26 09:41:38 dillo Exp $
SHA1 (xmame-0.82.1.tar.bz2) = a5f88a6e3e1cb2e6db37a770deeb14ae6e7829fd
Size (xmame-0.82.1.tar.bz2) = 12833581 bytes
SHA1 (patch-aa) = 0b9ffcb7c4305e7c349f229b2646acb31553d549
+SHA1 (patch-ab) = 098c3f51099136306a48929ee9f57aa6607dee2d
SHA1 (patch-ae) = 4f7ebb8c0eef93e38197ca1f176056462f179757
Home |
Main Index |
Thread Index |
Old Index