diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-29 04:05:57 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-29 04:05:57 +0000 |
commit | 88f9886de50562f083fa45359821567b0a880ea0 (patch) | |
tree | 9d6e6861bee113342e27578c9024b17a3d4ceb5f /extra/genius/readline-fix.patch | |
parent | 84fbb975eaab5e85082b96147a85031f1912646e (diff) |
Tue Apr 29 04:01:38 UTC 2014
Diffstat (limited to 'extra/genius/readline-fix.patch')
-rw-r--r-- | extra/genius/readline-fix.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/extra/genius/readline-fix.patch b/extra/genius/readline-fix.patch new file mode 100644 index 000000000..18255545b --- /dev/null +++ b/extra/genius/readline-fix.patch @@ -0,0 +1,35 @@ +From 5292545265af6ae4e8140b1af89369f7ae9be554 Mon Sep 17 00:00:00 2001 +From: "Jiri (George) Lebl" <jiri.lebl@gmail.com> +Date: Thu, 3 Apr 2014 08:02:02 -0500 +Subject: Thu Apr 03 08:01:49 2014 Jiri (George) Lebl <jirka@5z.com> + + * src/inter.c, src/genius-readline-helper.c: apply patch from Felipe + Sateler of debian to fix build with new readline. + +diff --git a/src/genius-readline-helper.c b/src/genius-readline-helper.c +index 7e9e84b..dbf8fd2 100644 +--- a/src/genius-readline-helper.c ++++ b/src/genius-readline-helper.c +@@ -183,7 +183,7 @@ main(int argc, char *argv[]) + rl_terminal_name = "xterm"; + rl_readline_name = "Genius"; + rl_attempted_completion_function = +- (CPPFunction *)tab_completion; ++ (rl_completion_func_t *)tab_completion; + + while(fgets(buf,4096,infp)) { + int count; +diff --git a/src/inter.c b/src/inter.c +index 915f115..f0d2558 100644 +--- a/src/inter.c ++++ b/src/inter.c +@@ -367,5 +367,5 @@ init_inter(void) + { + rl_readline_name = "Genius"; + rl_attempted_completion_function = +- (CPPFunction *)tab_completion; ++ (rl_completion_func_t *)tab_completion; + } +-- +cgit v0.10.1 + |