From f5b0f0fc84d2e0187b2878a8273f16f101ae4b11 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 17 Jun 2007 07:42:47 +0000 Subject: Add patch from Magnus Henoch in PR 36502 to make keys work again. Bump PKGREVISION. --- emulators/darcnes/Makefile | 4 ++-- emulators/darcnes/distinfo | 3 ++- emulators/darcnes/patches/patch-ac | 13 +++++++++++++ 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 emulators/darcnes/patches/patch-ac (limited to 'emulators/darcnes') diff --git a/emulators/darcnes/Makefile b/emulators/darcnes/Makefile index 0fec8d4e896..10dddeff37b 100644 --- a/emulators/darcnes/Makefile +++ b/emulators/darcnes/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.24 2007/02/15 22:20:15 joerg Exp $ +# $NetBSD: Makefile,v 1.25 2007/06/17 07:42:47 wiz Exp $ PKGNAME= darcnes-20010401 -PKGREVISION= 2 +PKGREVISION= 3 MAINTAINER= wiz@NetBSD.org COMMENT= Multi-system emulator (NES, SMS, GG, PCE, and others) diff --git a/emulators/darcnes/distinfo b/emulators/darcnes/distinfo index 795d1ed510e..aad8c882fa6 100644 --- a/emulators/darcnes/distinfo +++ b/emulators/darcnes/distinfo @@ -1,10 +1,11 @@ -$NetBSD: distinfo,v 1.6 2005/12/20 14:11:03 joerg Exp $ +$NetBSD: distinfo,v 1.7 2007/06/17 07:42:48 wiz Exp $ SHA1 (dn9b0401.tgz) = 3158ae8bd53891c2d17989cbb9d03493f1511132 RMD160 (dn9b0401.tgz) = 82201c3a2da113fa39edeb9ea675ddeceeec2bf3 Size (dn9b0401.tgz) = 199963 bytes SHA1 (patch-aa) = e7d2631d41d7914ed650a450a75f47ef711a3ca0 SHA1 (patch-ab) = 896a42a538f8a54da70fc3e8d0d01ac13eeb151d +SHA1 (patch-ac) = d758adc247a574ebe97a5dd9bfcf0cc4b5c0e3e9 SHA1 (patch-ad) = 1b3b493b41402edab814b6addaf19cc44dc2e8eb SHA1 (patch-ae) = b4a1029aebc356f10a90df35dcf3c392232a8c05 SHA1 (patch-af) = 470abb49e62e0b508893c0a32e3248635395896a 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 { -- cgit v1.2.3