summaryrefslogtreecommitdiff
path: root/devel/gdb6/patches/patch-mi_mi_getopt_c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gdb6/patches/patch-mi_mi_getopt_c')
-rw-r--r--devel/gdb6/patches/patch-mi_mi_getopt_c13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/gdb6/patches/patch-mi_mi_getopt_c b/devel/gdb6/patches/patch-mi_mi_getopt_c
new file mode 100644
index 00000000000..15768689016
--- /dev/null
+++ b/devel/gdb6/patches/patch-mi_mi_getopt_c
@@ -0,0 +1,13 @@
+$NetBSD: patch-mi_mi_getopt_c,v 1.1.1.1 2004/06/01 19:29:30 shannonjr Exp $
+
+--- gdb/mi/mi-getopt.c.orig 2003-04-02 15:10:35.000000000 -0700
++++ gdb/mi/mi-getopt.c
+@@ -82,7 +82,7 @@ mi_valid_noargs (const char *prefix, int
+ char *optarg;
+ static struct mi_opt opts[] =
+ {
+- 0
++ {0}
+ };
+
+ if (mi_getopt (prefix, argc, argv, opts, &optind, &optarg) == -1)