Package: dico / 2.2-8

readline_6.3.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix FTBFS against readline 6.3
 Old-style function typedefs have been removed in readline 6.3
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@sabily.org>
Bug-Debian: http://bugs.debian.org/741762
Forwarded: yes
--- a/dico/shell.c
+++ b/dico/shell.c
@@ -600,7 +600,7 @@
 #ifdef WITH_READLINE
     if (interactive) {
 	rl_readline_name = dico_program_name;
-	rl_attempted_completion_function = (CPPFunction*) _command_completion;
+	rl_attempted_completion_function = (rl_completion_func_t*) _command_completion;
 	read_history (get_history_file_name());
     } 
 #endif