diff options
author | joerg <joerg@pkgsrc.org> | 2014-04-21 18:13:57 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-04-21 18:13:57 +0000 |
commit | 939786005ed40ed56d7efbcfadc7db64a12ed65d (patch) | |
tree | 1ea04b7932e00631f7e678746100767bf2075913 /net/scli | |
parent | b04b44c9d075a017744791453b234f34d040ad56 (diff) | |
download | pkgsrc-939786005ed40ed56d7efbcfadc7db64a12ed65d.tar.gz |
Fix build against readline 6.3.
Diffstat (limited to 'net/scli')
-rw-r--r-- | net/scli/distinfo | 3 | ||||
-rw-r--r-- | net/scli/patches/patch-scli_scli.c | 22 |
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; + } + + /* |