summaryrefslogtreecommitdiff
path: root/net/yafc/patches/patch-src_completion.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/yafc/patches/patch-src_completion.c')
-rw-r--r--net/yafc/patches/patch-src_completion.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/yafc/patches/patch-src_completion.c b/net/yafc/patches/patch-src_completion.c
new file mode 100644
index 00000000000..2ab79e6dda2
--- /dev/null
+++ b/net/yafc/patches/patch-src_completion.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_completion.c,v 1.1 2014/04/17 20:27:33 joerg Exp $
+
+--- src/completion.c.orig 2014-04-17 18:24:23.000000000 +0000
++++ src/completion.c
+@@ -336,7 +336,7 @@ static char *local_taglist_completion_fu
+ * in case we want to do some simple parsing. Return the array of matches,
+ * or NULL if there aren't any.
+ */
+-char **the_complete_function(char *text, int start, int end)
++char **the_complete_function(const char *text, int start, int end)
+ {
+ char **matches = 0;
+ cmd_t *cp;