freeswitch-stable: fix garbled output in fs_cli
Fix a typo. Sent to upstream via Jira FS-11309. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
parent
70e0535e59
commit
f0d34a6e6d
2 changed files with 28 additions and 1 deletions
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||
PRG_NAME:=freeswitch
|
||||
PKG_NAME:=$(PRG_NAME)-stable
|
||||
PKG_VERSION:=1.8.1
|
||||
PKG_RELEASE:=3
|
||||
PKG_RELEASE:=4
|
||||
PKG_MAINTAINER:=Sebastian Kemper <sebastian_ml@gmx.net>
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
|
|
27
net/freeswitch-stable/patches/020-fix-fs_cli-typo.patch
Normal file
27
net/freeswitch-stable/patches/020-fix-fs_cli-typo.patch
Normal file
|
@ -0,0 +1,27 @@
|
|||
commit f76230b16ed6e28847a00e1fa4edd46d19a52251
|
||||
Author: Sebastian Kemper <sebastian_ml@gmx.net>
|
||||
Date: Thu Aug 2 23:38:43 2018 +0200
|
||||
|
||||
FS-11309: [fs_cli] fix typo
|
||||
|
||||
Commit bc3e1c9e7de1855eec454bba467fd2586e5e251b introduced a typo that
|
||||
results in EL_REFRESH never being used, even if available. This can
|
||||
cause the screen to garble.
|
||||
|
||||
This fixes the typo.
|
||||
|
||||
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
|
||||
|
||||
diff --git a/libs/esl/fs_cli.c b/libs/esl/fs_cli.c
|
||||
index b4a5838175..d52422dd4c 100644
|
||||
--- a/libs/esl/fs_cli.c
|
||||
+++ b/libs/esl/fs_cli.c
|
||||
@@ -674,7 +674,7 @@ static void redisplay(void)
|
||||
esl_mutex_lock(MUTEX);
|
||||
{
|
||||
#ifdef HAVE_LIBEDIT
|
||||
-#ifdef XHAVE_DECL_EL_REFRESH
|
||||
+#ifdef HAVE_DECL_EL_REFRESH
|
||||
#ifdef HAVE_EL_WSET
|
||||
/* Current libedit versions don't implement EL_REFRESH in eln.c so
|
||||
* use the wide version instead. */
|
Loading…
Reference in a new issue