summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/quagga/files
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-03-27 17:52:55 +0800
committerJoe MacDonald <joe.macdonald@windriver.com>2014-03-27 15:41:12 -0400
commitc1d420a3b65538f80601411f85295db8f4cb30ab (patch)
tree87bd1e84186e854d52c23a4bdbd182105f5dd493 /meta-networking/recipes-protocols/quagga/files
parent6d121827702369b875cb7fa47303117ea74bc96f (diff)
downloadmeta-openembedded-c1d420a3b65538f80601411f85295db8f4cb30ab.tar.gz
quagga: work with new readline
The Function and CPPFunction had been removed by in readline 6.3, use the new functions to replace them. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
Diffstat (limited to 'meta-networking/recipes-protocols/quagga/files')
-rw-r--r--meta-networking/recipes-protocols/quagga/files/work-with-new-readline.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/quagga/files/work-with-new-readline.patch b/meta-networking/recipes-protocols/quagga/files/work-with-new-readline.patch
new file mode 100644
index 000000000..2bd333a70
--- /dev/null
+++ b/meta-networking/recipes-protocols/quagga/files/work-with-new-readline.patch
@@ -0,0 +1,34 @@
1From 66df315d2a270a254c613a4d2e72c0ea47f15a71 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Thu, 27 Mar 2014 09:35:29 +0000
4Subject: [PATCH] vtysh/vtysh.c: works with new readline
5
6The Function and CPPFunction had been removed by in readline 6.3, use
7the new functions to replace them.
8
9Upstream-Status: Pending
10
11Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12---
13 vtysh/vtysh.c | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
17index 431c08e..fdd82fb 100644
18--- a/vtysh/vtysh.c
19+++ b/vtysh/vtysh.c
20@@ -2212,9 +2212,9 @@ void
21 vtysh_readline_init (void)
22 {
23 /* readline related settings. */
24- rl_bind_key ('?', (Function *) vtysh_rl_describe);
25+ rl_bind_key ('?', (rl_command_func_t *) vtysh_rl_describe);
26 rl_completion_entry_function = vtysh_completion_entry_function;
27- rl_attempted_completion_function = (CPPFunction *)new_completion;
28+ rl_attempted_completion_function = (rl_completion_func_t *)new_completion;
29 /* do not append space after completion. It will be appended
30 * in new_completion() function explicitly. */
31 rl_completion_append_character = '\0';
32--
331.8.3.4
34