Browse Source

ncurses: Patch away REP sequence usage

Fixes #1252 and mc corruption.
android-5
Fredrik Fornwall 7 years ago
parent
commit
1770bbac20
  1. 5
      packages/ncurses/build.sh
  2. 19
      packages/ncurses/misc-terminfo.src.patch

5
packages/ncurses/build.sh

@ -1,11 +1,10 @@
TERMUX_PKG_HOMEPAGE=http://invisible-island.net/ncurses/ TERMUX_PKG_HOMEPAGE=http://invisible-island.net/ncurses/
TERMUX_PKG_DESCRIPTION="Library for text-based user interfaces in a terminal-independent manner" TERMUX_PKG_DESCRIPTION="Library for text-based user interfaces in a terminal-independent manner"
_MAJOR_VERSION=6.0 _MAJOR_VERSION=6.0
_MINOR_VERSION=20170729 _MINOR_VERSION=20170812
TERMUX_PKG_VERSION=${_MAJOR_VERSION}.${_MINOR_VERSION} TERMUX_PKG_VERSION=${_MAJOR_VERSION}.${_MINOR_VERSION}
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=http://invisible-mirror.net/archives/ncurses/current/ncurses-${_MAJOR_VERSION}-${_MINOR_VERSION}.tgz TERMUX_PKG_SRCURL=http://invisible-mirror.net/archives/ncurses/current/ncurses-${_MAJOR_VERSION}-${_MINOR_VERSION}.tgz
TERMUX_PKG_SHA256=eaf15a7bc7aaca35fef7dc0ff04cb0d803b50fe1f9578904ff1a49fb04bdcdb1 TERMUX_PKG_SHA256=6107dadc5b1009e09a081d8ef8752eedffcf18dae6e15610279a269e67b6b9a0
# --without-normal disables static libraries: # --without-normal disables static libraries:
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
ac_cv_header_locale_h=no ac_cv_header_locale_h=no

19
packages/ncurses/misc-terminfo.src.patch

@ -0,0 +1,19 @@
Revert REP sequence added in 2017-07-29 until problem is
fixed in ncurses:
http://lists.gnu.org/archive/html/bug-ncurses/2017-07/msg00051.html
See https://github.com/termux/termux-packages/issues/1252 and try out
both weechat and mc before enabling.
diff -u -r ../ncurses-6.0-20170812/misc/terminfo.src ./misc/terminfo.src
--- ../ncurses-6.0-20170812/misc/terminfo.src 2017-07-30 02:10:59.000000000 +0200
+++ ./misc/terminfo.src 2017-08-13 15:38:04.457928129 +0200
@@ -4180,7 +4180,7 @@
xterm-new|modern xterm terminal emulator,
npc,
indn=\E[%p1%dS, kb2=\EOE, kcbt=\E[Z, kent=\EOM,
- rin=\E[%p1%dT, use=ansi+rep, use=ansi+enq,
+ rin=\E[%p1%dT, use=ansi+enq,
use=xterm+pcfkeys, use=xterm+tmux, use=ecma+strikeout,
use=xterm-basic,
Loading…
Cancel
Save