summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/scli/distinfo3
-rw-r--r--net/scli/patches/patch-scli_scli.c22
2 files changed, 24 insertions, 1 deletions
diff --git a/net/scli/distinfo b/net/scli/distinfo
index 2c0f3eeb9f9..f1947779b7a 100644
--- a/net/scli/distinfo
+++ b/net/scli/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2007/10/29 09:53:13 seb Exp $
+$NetBSD: distinfo,v 1.5 2014/04/21 18:13:57 joerg Exp $
SHA1 (scli-0.3.1.tar.gz) = bf7d49456e2509afdac8fd4c7ca45f77c72046ec
RMD160 (scli-0.3.1.tar.gz) = 9febbc06ec75035bc666bf65bf4578e2faa05e6a
Size (scli-0.3.1.tar.gz) = 923873 bytes
+SHA1 (patch-scli_scli.c) = c518ce50eb060909eff2645cfc88d3b884c9f8e3
diff --git a/net/scli/patches/patch-scli_scli.c b/net/scli/patches/patch-scli_scli.c
new file mode 100644
index 00000000000..a0425dbf99d
--- /dev/null
+++ b/net/scli/patches/patch-scli_scli.c
@@ -0,0 +1,22 @@
+$NetBSD: patch-scli_scli.c,v 1.1 2014/04/21 18:13:57 joerg Exp $
+
+--- scli/scli.c.orig 2014-04-20 18:56:10.000000000 +0000
++++ scli/scli.c
+@@ -216,7 +216,7 @@ generator(char const *text, int state)
+ */
+
+ static char**
+-completion(char *text, int start, int end)
++completion(const char *text, int start, int end)
+ {
+ char **matches;
+
+@@ -262,7 +262,7 @@ readline_init()
+ rl_readline_name = "scli";
+
+ /* Tell the completer that we want a crack first. */
+- rl_attempted_completion_function = (CPPFunction *) completion;
++ rl_attempted_completion_function = completion;
+ }
+
+ /*