summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-09-17 07:15:32 +0000
committerwiz <wiz@pkgsrc.org>2003-09-17 07:15:32 +0000
commit5065f4431f2525d5282638f6065556c90bd91d18 (patch)
treead2331df8bc2a2fa6b0bb72dd2f8111df8406b7c /emulators
parent9efa7b4f8c402929dfa2589b7b6cecec9cf8ecf1 (diff)
downloadpkgsrc-5065f4431f2525d5282638f6065556c90bd91d18.tar.gz
Don't dump core if no ROM specified. From Soren Jacobsen in PR 22326.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/darcnes/Makefile3
-rw-r--r--emulators/darcnes/distinfo3
-rw-r--r--emulators/darcnes/patches/patch-ab17
3 files changed, 21 insertions, 2 deletions
diff --git a/emulators/darcnes/Makefile b/emulators/darcnes/Makefile
index c83b5b6efa5..e3760548c0c 100644
--- a/emulators/darcnes/Makefile
+++ b/emulators/darcnes/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2003/08/02 19:52:12 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2003/09/17 07:15:32 wiz Exp $
PKGNAME= darcnes-20010401
+PKGREVISION= 1
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 b02b2f1ea9f..949857bba8a 100644
--- a/emulators/darcnes/distinfo
+++ b/emulators/darcnes/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.3 2001/07/08 18:12:00 wiz Exp $
+$NetBSD: distinfo,v 1.4 2003/09/17 07:15:33 wiz Exp $
SHA1 (dn9b0401.tgz) = 3158ae8bd53891c2d17989cbb9d03493f1511132
Size (dn9b0401.tgz) = 199963 bytes
SHA1 (patch-aa) = e7d2631d41d7914ed650a450a75f47ef711a3ca0
+SHA1 (patch-ab) = 896a42a538f8a54da70fc3e8d0d01ac13eeb151d
SHA1 (patch-ad) = 1b3b493b41402edab814b6addaf19cc44dc2e8eb
SHA1 (patch-ae) = b4a1029aebc356f10a90df35dcf3c392232a8c05
SHA1 (patch-af) = 470abb49e62e0b508893c0a32e3248635395896a
diff --git a/emulators/darcnes/patches/patch-ab b/emulators/darcnes/patches/patch-ab
new file mode 100644
index 00000000000..f21a578121c
--- /dev/null
+++ b/emulators/darcnes/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.6 2003/09/17 07:15:34 wiz Exp $
+
+--- ui_x.c.orig Mon Oct 30 23:15:31 2000
++++ ui_x.c
+@@ -177,6 +177,12 @@ int main(int argc, char *argv[])
+ return 1;
+ }
+
++ if (romfile == NULL) {
++ printf("rom not specified.\n");
++ usage(argv[0]);
++ return 1;
++ }
++
+ initialize_window(display);
+
+ activate_system(system_type, romfile);