openbsd-ports/emulators/vba/patches/patch-src_getopt_h
jasper 1117b477c7 import vba 1.7.2
VisualBoyAdvance is an emulator for Nintendo's Gameboy Advance. It also
supports emulation of the Gameboy (classic), Gameboy Pocket, Gameboy
Color and Gameboy Advance SP.

Some of the main features are:
- option to use BIOS file
- zip/gzip file support
- graphic filters Normal, TV Mode, 2xSaI, Super 2xSaI and more
- interframe blending support
- built-in ARM/THUMB assembly debugger
- 10 save states accesible through keyboard
- automatic battery file load/save
- auto-fire support
- 16, 24 and 32 bit desktop support
- GDB remote debugging
- AGBPrint support for development
- RTC support

with a tweak from Gleydson Soares
2007-09-28 14:18:17 +00:00

13 lines
503 B
Plaintext

$OpenBSD: patch-src_getopt_h,v 1.1.1.1 2007/09/28 14:18:17 jasper Exp $
--- src/getopt.h.orig Tue Sep 18 22:50:13 2007
+++ src/getopt.h Tue Sep 18 22:50:45 2007
@@ -112,7 +112,7 @@ struct option
extern int getopt (int argc, char *const *argv, const char *shortopts);
#else /* not __GNU_LIBRARY__ */
# if !defined (HAVE_DECL_GETOPT)
-extern int getopt ();
+/* extern int getopt (); */
# endif
#endif /* __GNU_LIBRARY__ */
extern int getopt_long (int argc, char *const *argv, const char *shortopts,