pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/darcnes Don't dump core if no ROM specified....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a5d076376d92
branches:  trunk
changeset: 461515:a5d076376d92
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Sep 17 07:15:32 2003 +0000

description:
Don't dump core if no ROM specified. From Soren Jacobsen in PR 22326.

diffstat:

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

diffs (47 lines):

diff -r 25cecae42e0c -r a5d076376d92 emulators/darcnes/Makefile
--- a/emulators/darcnes/Makefile        Wed Sep 17 06:48:55 2003 +0000
+++ b/emulators/darcnes/Makefile        Wed Sep 17 07:15:32 2003 +0000
@@ -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@localhost
 COMMENT=       Multi-system emulator (NES, SMS, GG, PCE, and others)
diff -r 25cecae42e0c -r a5d076376d92 emulators/darcnes/distinfo
--- a/emulators/darcnes/distinfo        Wed Sep 17 06:48:55 2003 +0000
+++ b/emulators/darcnes/distinfo        Wed Sep 17 07:15:32 2003 +0000
@@ -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 -r 25cecae42e0c -r a5d076376d92 emulators/darcnes/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/emulators/darcnes/patches/patch-ab        Wed Sep 17 07:15:32 2003 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index