diff options
author | wiedi <wiedi@pkgsrc.org> | 2014-03-22 10:48:20 +0000 |
---|---|---|
committer | wiedi <wiedi@pkgsrc.org> | 2014-03-22 10:48:20 +0000 |
commit | e7f9cfc31c0986e330344d466d255e90c34971f0 (patch) | |
tree | 484434c1f49fb07a81e07b679ae77d5d0083fb1c /net/quagga | |
parent | a31032b65dc5f8d2dcbc724b57a97db5f08c3318 (diff) | |
download | pkgsrc-e7f9cfc31c0986e330344d466d255e90c34971f0.tar.gz |
Fix build failure with readline-6.3
Diffstat (limited to 'net/quagga')
-rw-r--r-- | net/quagga/distinfo | 3 | ||||
-rw-r--r-- | net/quagga/patches/patch-vtysh_vtysh.c | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/net/quagga/distinfo b/net/quagga/distinfo index e24bb7f660c..f293ffe81ad 100644 --- a/net/quagga/distinfo +++ b/net/quagga/distinfo @@ -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 diff --git a/net/quagga/patches/patch-vtysh_vtysh.c b/net/quagga/patches/patch-vtysh_vtysh.c new file mode 100644 index 00000000000..dfb5b3c4c0c --- /dev/null +++ b/net/quagga/patches/patch-vtysh_vtysh.c @@ -0,0 +1,18 @@ +$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'; |