summaryrefslogtreecommitdiff
path: root/emulators/xmame
diff options
context:
space:
mode:
authorwiz <wiz>2004-08-25 01:20:11 +0000
committerwiz <wiz>2004-08-25 01:20:11 +0000
commit2d5ef546c59a65af4b780a59d1f7058b7fa5b051 (patch)
treeda9d8aa013d24d2c786802aab6bc98ca872fd401 /emulators/xmame
parentf9a9e18effe44fd3c56a060114ee42644f0da289 (diff)
downloadpkgsrc-2d5ef546c59a65af4b780a59d1f7058b7fa5b051.tar.gz
Fix names for joystick buttons in GUI. Bump PKGREVISION.
Diffstat (limited to 'emulators/xmame')
-rw-r--r--emulators/xmame/Makefile3
-rw-r--r--emulators/xmame/distinfo3
-rw-r--r--emulators/xmame/patches/patch-ab13
3 files changed, 17 insertions, 2 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index 6fc7e1736ce..096e9577a61 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -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 --git a/emulators/xmame/distinfo b/emulators/xmame/distinfo
index aeddef286e1..2ed3d075d7c 100644
--- a/emulators/xmame/distinfo
+++ b/emulators/xmame/distinfo
@@ -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 --git a/emulators/xmame/patches/patch-ab b/emulators/xmame/patches/patch-ab
new file mode 100644
index 00000000000..37857438dc6
--- /dev/null
+++ b/emulators/xmame/patches/patch-ab
@@ -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);
+ }
+ }