diff options
Diffstat (limited to 'lang/open-cobol-ce/patches/patch-bin_cobcrun.c')
-rw-r--r-- | lang/open-cobol-ce/patches/patch-bin_cobcrun.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/open-cobol-ce/patches/patch-bin_cobcrun.c b/lang/open-cobol-ce/patches/patch-bin_cobcrun.c new file mode 100644 index 00000000000..c8fe3948e56 --- /dev/null +++ b/lang/open-cobol-ce/patches/patch-bin_cobcrun.c @@ -0,0 +1,15 @@ +$NetBSD: patch-bin_cobcrun.c,v 1.1 2013/05/26 04:13:05 ryoon Exp $ + +* Some patform has no getopt_long_only. + +--- bin/cobcrun.c.orig 2013-02-02 20:44:08.000000000 +0000 ++++ bin/cobcrun.c +@@ -107,7 +107,7 @@ process_command_line (int argc, char *ar + return 99; + } + +- c = getopt_long_only (argc, argv, short_options, long_options, &idx); ++ c = getopt_long (argc, argv, short_options, long_options, &idx); + if (c > 0) { + switch (c) { + case '?': |