freeswitch-stable: fix garbled output in fs_cli 357/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Fri, 3 Aug 2018 16:48:38 +0000 (18:48 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Fri, 3 Aug 2018 16:48:40 +0000 (18:48 +0200)
Fix a typo. Sent to upstream via Jira FS-11309.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/freeswitch-stable/Makefile
net/freeswitch-stable/patches/020-fix-fs_cli-typo.patch [new file with mode: 0644]

index 77cccc8179ac6bd41ecb40b30c46a764a1d9a0d8..76ce8726e5503d04db2e8dd8cd4535ea125e6842 100644 (file)
@@ -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
diff --git a/net/freeswitch-stable/patches/020-fix-fs_cli-typo.patch b/net/freeswitch-stable/patches/020-fix-fs_cli-typo.patch
new file mode 100644 (file)
index 0000000..ed56433
--- /dev/null
@@ -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. */