pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/xmame Fix names for joystick buttons in GUI....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c24f3af5a726
branches:  trunk
changeset: 479885:c24f3af5a726
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Aug 25 01:20:11 2004 +0000

description:
Fix names for joystick buttons in GUI. Bump PKGREVISION.

diffstat:

 emulators/xmame/Makefile         |   3 ++-
 emulators/xmame/distinfo         |   3 ++-
 emulators/xmame/patches/patch-ab |  13 +++++++++++++
 3 files changed, 17 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r f20c7754588f -r c24f3af5a726 emulators/xmame/Makefile
--- a/emulators/xmame/Makefile  Tue Aug 24 23:11:17 2004 +0000
+++ b/emulators/xmame/Makefile  Wed Aug 25 01:20:11 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.116 2004/08/14 00:25:13 kristerw Exp $
+# $NetBSD: Makefile,v 1.117 2004/08/25 01:20:11 wiz Exp $
 #
 
 DISTNAME=              xmame-0.85
+PKGREVISION=           1
 CATEGORIES=            emulators games x11
 MASTER_SITES=          http://x.mame.net/download/
 EXTRACT_SUFX=          .tar.bz2
diff -r f20c7754588f -r c24f3af5a726 emulators/xmame/distinfo
--- a/emulators/xmame/distinfo  Tue Aug 24 23:11:17 2004 +0000
+++ b/emulators/xmame/distinfo  Wed Aug 25 01:20:11 2004 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.54 2004/08/14 00:25:13 kristerw Exp $
+$NetBSD: distinfo,v 1.55 2004/08/25 01:20:11 wiz Exp $
 
 SHA1 (xmame-0.85.tar.bz2) = 6d8b198ee4f97a197a1173860c981283947dbcb6
 Size (xmame-0.85.tar.bz2) = 14447207 bytes
 SHA1 (patch-aa) = 0b9ffcb7c4305e7c349f229b2646acb31553d549
+SHA1 (patch-ab) = 5d3fce8477ce0be1b7ea5f9da67495209f14a407
 SHA1 (patch-ae) = df9ce91871bfcff611ff8f616482d4ff2e8204a3
diff -r f20c7754588f -r c24f3af5a726 emulators/xmame/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/xmame/patches/patch-ab  Wed Aug 25 01:20:11 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.28 2004/08/25 01:20:11 wiz Exp $
+
+--- src/unix/devices.c.orig    2004-08-13 06:30:14.000000000 +0200
++++ src/unix/devices.c
+@@ -971,7 +971,7 @@ static void init_joycodes(void)
+                       }
+                       for (button = 0; button < JOY_BUTTONS; button++)
+                       {
+-                              snprintf(tempname, JOY_NAME_LEN, "Joy %d button %d", stick + 1 , axis + 1);
++                              snprintf(tempname, JOY_NAME_LEN, "Joy %d button %d", stick + 1 , button + 1);
+                               add_joylist_entry(tempname, JOYCODE(stick, CODETYPE_BUTTON, button), CODE_OTHER_DIGITAL);
+                       }
+               }



Home | Main Index | Thread Index | Old Index