summaryrefslogtreecommitdiff
path: root/lang/open-cobol-ce/patches
diff options
context:
space:
mode:
authorryoon <ryoon>2013-05-26 04:13:05 +0000
committerryoon <ryoon>2013-05-26 04:13:05 +0000
commit38356314fd10344e66c8c1838be0fd4d523576aa (patch)
treee4a95070868008b30c6c3c0295133ab0d8ef1017 /lang/open-cobol-ce/patches
parenteb581d36d2594744678791985686b8aec5d246c9 (diff)
downloadpkgsrc-38356314fd10344e66c8c1838be0fd4d523576aa.tar.gz
Import open-cobol-ce-1.1.59 as lang/open-cobol-ce.
OpenCOBOL CE is based on OpenCOBOL and has modern features.
Diffstat (limited to 'lang/open-cobol-ce/patches')
-rw-r--r--lang/open-cobol-ce/patches/patch-bin_cobcrun.c15
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 '?':