diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2017-07-16 18:06:45 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2017-07-16 18:06:45 +0000 |
commit | 2a9f1991aaa5408712e24be5c0d7f683b71a4ea0 (patch) | |
tree | a12b48f95b82c62d112a23045f358487bcf60466 /emulators/darcnes/files/patch-ui__x.c | |
parent | * Updated to 3.0.13.7 (diff) |
- COMMENT should start wit capital letter
- Remove deprecated WANT_GNOME
- Turn pkg-plist to PLIST_FILES, PORTDOCS - only 2 plist items
- Convert to options helpers, add missing dependencies when GTK1=on
- Fix build when SVGALIB=on => patch-video__svga.c
- Regenerate patches with make makepatch
Notes
Notes:
svn path=/head/; revision=446041
Diffstat (limited to 'emulators/darcnes/files/patch-ui__x.c')
-rw-r--r-- | emulators/darcnes/files/patch-ui__x.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/emulators/darcnes/files/patch-ui__x.c b/emulators/darcnes/files/patch-ui__x.c new file mode 100644 index 000000000000..ac874c61fcff --- /dev/null +++ b/emulators/darcnes/files/patch-ui__x.c @@ -0,0 +1,15 @@ +--- ui_x.c.orig 2000-10-30 22:15:31 UTC ++++ 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); |