diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-04-10 18:01:25 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-04-10 18:01:25 (GMT) |
commit | 22b2ce74724dcd4bcef56c29b2e27e3e5faa2db2 (patch) | |
tree | 479d2d6d0c755be0b8cfa0f2c6c728e4a68eb2fe /abs/extra/samba/readline-6.3.patch | |
parent | b5b6b297d572ed222d16407aa127e4ca9b5bdd5b (diff) | |
download | linhes_pkgbuild-22b2ce74724dcd4bcef56c29b2e27e3e5faa2db2.zip linhes_pkgbuild-22b2ce74724dcd4bcef56c29b2e27e3e5faa2db2.tar.gz linhes_pkgbuild-22b2ce74724dcd4bcef56c29b2e27e3e5faa2db2.tar.bz2 |
samba: update to 4.1.6. refs #961
Diffstat (limited to 'abs/extra/samba/readline-6.3.patch')
-rw-r--r-- | abs/extra/samba/readline-6.3.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/extra/samba/readline-6.3.patch b/abs/extra/samba/readline-6.3.patch new file mode 100644 index 0000000..0dcb1cf --- /dev/null +++ b/abs/extra/samba/readline-6.3.patch @@ -0,0 +1,26 @@ +Function, CPFunction, CPPFunction and VFunction typedefs are considered +old-style (deprecated) starting from readline 4.2. +Compatibility typedefs have been in place up to readline 6.2 but were +removed with the 6.3 release thus causing builds to break. +Swtich to the new-style specific prototyped typedef. + +Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar> +--- + libcli/smbreadline/smbreadline.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libcli/smbreadline/smbreadline.c b/libcli/smbreadline/smbreadline.c +index cff25a7..80e10b0 100644 +--- a/libcli/smbreadline/smbreadline.c ++++ b/libcli/smbreadline/smbreadline.c +@@ -141,7 +141,7 @@ char *smb_readline(const char *prompt, void (*callback)(void), + + #if HAVE_DECL_RL_EVENT_HOOK + if (callback) +- rl_event_hook = (Function *)callback; ++ rl_event_hook = (rl_hook_func_t *)callback; + #endif + ret = readline(prompt); + if (ret && *ret) +-- +1.8.3.2 |