Sat Mar 22 10:48:20 2014 UTC ()
Fix build failure with readline-6.3
(wiedi)
diff -r1.18 -r1.19 pkgsrc/net/quagga/distinfo
diff -r0 -r1.1 pkgsrc/net/quagga/patches/patch-vtysh_vtysh.c
--- pkgsrc/net/quagga/distinfo 2013/10/21 08:57:33 1.18
+++ pkgsrc/net/quagga/distinfo 2014/03/22 10:48:20 1.19
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.18 2013/10/21 08:57:33 fhajny Exp $
+$NetBSD: distinfo,v 1.19 2014/03/22 10:48:20 wiedi Exp $
SHA1 (quagga-0.99.22.3.tar.gz) = 80e2d32bb0a95d2e3e9c90f16618eee863202f85
RMD160 (quagga-0.99.22.3.tar.gz) = 41fa875d1722af286621aa90b14b27a56e8d6c9d
Size (quagga-0.99.22.3.tar.gz) = 2363963 bytes
SHA1 (patch-configure) = a58a698ba9b8a174c3623a9cd4b52518e410c0df
SHA1 (patch-lib_queue.h) = 63ce2d88fb29654d937384898b0d84480b3b2581
+SHA1 (patch-vtysh_vtysh.c) = 55b398c2b78d68b151450d071256031955ca7ebc
$NetBSD: patch-vtysh_vtysh.c,v 1.1 2014/03/22 10:48:20 wiedi Exp $
Fix build failure with readline-6.3
patch by Matthias Klose for Ubuntu
--- vtysh/vtysh.c.orig 2013-07-30 14:47:01.000000000 +0000
+++ vtysh/vtysh.c
@@ -2211,9 +2211,9 @@ void
vtysh_readline_init (void)
{
/* readline related settings. */
- rl_bind_key ('?', (Function *) vtysh_rl_describe);
+ rl_bind_key ('?', (rl_command_func_t *) vtysh_rl_describe);
rl_completion_entry_function = vtysh_completion_entry_function;
- rl_attempted_completion_function = (CPPFunction *)new_completion;
+ rl_attempted_completion_function = (rl_completion_func_t *)new_completion;
/* do not append space after completion. It will be appended
* in new_completion() function explicitly. */
rl_completion_append_character = '\0';