summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-12-09 14:08:12 -0500
committerMike Frysinger <vapier@gentoo.org>2016-12-09 14:08:58 -0500
commiteebfd6c16cebfd78779e12215ef1a07e3bf0ebbf (patch)
treeaaa2f4f09a54432d0b904d1e7fbd2ed12587db52 /sys-libs/readline
parentprofiles: s390: force gmp[asm] for now to fix ABI breakage (diff)
downloadgentoo-eebfd6c16cebfd78779e12215ef1a07e3bf0ebbf.tar.gz
gentoo-eebfd6c16cebfd78779e12215ef1a07e3bf0ebbf.tar.bz2
gentoo-eebfd6c16cebfd78779e12215ef1a07e3bf0ebbf.zip
sys-libs/readline: add missing prototype from upstream
Diffstat (limited to 'sys-libs/readline')
-rw-r--r--sys-libs/readline/files/readline-7.0-missing-echo-proto.patch14
-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