summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authordillo <dillo>2004-05-26 09:34:17 +0000
committerdillo <dillo>2004-05-26 09:34:17 +0000
commit53964f04531d4a51f11f429f6bc29d4e64f68f50 (patch)
treed675ca3d059ab3b1edaf07e2819b6a90430db704 /emulators
parentfacb85323c04f17af823405c2640acbbaf756b33 (diff)
downloadpkgsrc-53964f04531d4a51f11f429f6bc29d4e64f68f50.tar.gz
Fix usb joystick driver for talkative joysticks: read all available
reports and use the newest one. Bump PKGREVISION.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/xmame/Makefile3
-rw-r--r--emulators/xmame/distinfo3
-rw-r--r--emulators/xmame/patches/patch-ab22
-rw-r--r--emulators/xmess/Makefile3
-rw-r--r--emulators/xmess/distinfo3
5 files changed, 30 insertions, 4 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index ce9d0053ad6..c66ac5c063c 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -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 --git a/emulators/xmame/distinfo b/emulators/xmame/distinfo
index 530c24cb92a..e72796ce148 100644
--- a/emulators/xmame/distinfo
+++ b/emulators/xmame/distinfo
@@ -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 --git a/emulators/xmame/patches/patch-ab b/emulators/xmame/patches/patch-ab
new file mode 100644
index 00000000000..b99f63648c1
--- /dev/null
+++ b/emulators/xmame/patches/patch-ab
@@ -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 --git a/emulators/xmess/Makefile b/emulators/xmess/Makefile
index cff232f6221..2f644e9ea98 100644
--- a/emulators/xmess/Makefile
+++ b/emulators/xmess/Makefile
@@ -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 --git a/emulators/xmess/distinfo b/emulators/xmess/distinfo
index bc2212d85d9..7021012a7d4 100644
--- a/emulators/xmess/distinfo
+++ b/emulators/xmess/distinfo
@@ -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