summaryrefslogtreecommitdiff
path: root/emulators/darcnes/patches
diff options
context:
space:
mode:
authorwiz <wiz>2007-06-17 07:42:47 +0000
committerwiz <wiz>2007-06-17 07:42:47 +0000
commit5b9a40bb2c97dc7352a8d983c97d217ace50e0c8 (patch)
treee816a025dac8c883ed749d2f0c3d79edc35521c6 /emulators/darcnes/patches
parentdfc2e7244a2a2e54a737c5b81ad9f63407603fbe (diff)
downloadpkgsrc-5b9a40bb2c97dc7352a8d983c97d217ace50e0c8.tar.gz
Add patch from Magnus Henoch in PR 36502 to make keys work again.
Bump PKGREVISION.
Diffstat (limited to 'emulators/darcnes/patches')
-rw-r--r--emulators/darcnes/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/darcnes/patches/patch-ac b/emulators/darcnes/patches/patch-ac
new file mode 100644
index 00000000000..3e347e1db72
--- /dev/null
+++ b/emulators/darcnes/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.6 2007/06/17 07:42:48 wiz Exp $
+
+--- ui.h.orig 2000-06-29 01:06:05.000000000 +0000
++++ ui.h
+@@ -37,7 +37,7 @@ extern shutdown_t dn_shutdown;
+
+ struct joypad_button_template {
+ int num_buttons;
+- unsigned long buttons[0];
++ unsigned long buttons[20]; /* shouldn't need more than that */
+ };
+
+ struct joypad {