diff options
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/readline/files/readline-7.0-missing-echo-proto.patch | 14 | ||||
-rw-r--r-- | sys-libs/readline/readline-7.0_p1-r1.ebuild (renamed from sys-libs/readline/readline-7.0_p1.ebuild) | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/sys-libs/readline/files/readline-7.0-missing-echo-proto.patch b/sys-libs/readline/files/readline-7.0-missing-echo-proto.patch new file mode 100644 index 000000000000..fe945be72530 --- /dev/null +++ b/sys-libs/readline/files/readline-7.0-missing-echo-proto.patch @@ -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)); diff --git a/sys-libs/readline/readline-7.0_p1.ebuild b/sys-libs/readline/readline-7.0_p1-r1.ebuild index 56fddcb95938..f460715933c5 100644 --- a/sys-libs/readline/readline-7.0_p1.ebuild +++ b/sys-libs/readline/readline-7.0_p1-r1.ebuild @@ -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 |