sys-libs/readline: add missing prototype from upstream

This commit is contained in:
Mike Frysinger
2016-12-09 14:08:12 -05:00
parent 32849ef2e2
commit eebfd6c16c
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
https://lists.gnu.org/archive/html/bug-readline/2016-11/msg00000.html
fix from upstream
--- a/lib/readline/readline.h
+++ b/lib/readline/readline.h
@@ -413,6 +413,7 @@
extern void rl_tty_set_default_bindings PARAMS((Keymap));
extern void rl_tty_unset_default_bindings PARAMS((Keymap));
+extern int rl_tty_set_echoing PARAMS((int));
extern int rl_reset_terminal PARAMS((const char *));
extern void rl_resize_terminal PARAMS((void));
extern void rl_set_screen_size PARAMS((int, int));

View File

@@ -54,6 +54,7 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-5.0-no_rpath.patch
epatch "${FILESDIR}"/${PN}-6.2-rlfe-tgoto.patch #385091
epatch "${FILESDIR}"/${PN}-7.0-headers.patch
epatch "${FILESDIR}"/${PN}-7.0-missing-echo-proto.patch
# Force ncurses linking. #71420
# Use pkg-config to get the right values. #457558