Commit 00011f8b authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

bash has broken support for wide char ncurses - fix it

parent 5d839ee4
diff -uNr bash-5.0/configure bash-5.0-ncursesw_support/configure
--- bash-5.0/configure 2019-01-03 01:13:31.000000000 +1030
+++ bash-5.0-ncursesw_support/configure 2019-09-02 00:45:01.464542841 +0930
@@ -5290,6 +5290,9 @@
elif test $bash_cv_termcap_lib = libncurses; then
TERMCAP_LIB=-lncurses
TERMCAP_DEP=
+elif test $bash_cv_termcap_lib = libncursesw; then
+TERMCAP_LIB=-lncursesw
+TERMCAP_DEP=
elif test $bash_cv_termcap_lib = libc; then
TERMCAP_LIB=
TERMCAP_DEP=
@@ -16171,6 +16174,9 @@
elif test $bash_cv_termcap_lib = libncurses; then
TERMCAP_LIB=-lncurses
TERMCAP_DEP=
+elif test $bash_cv_termcap_lib = libncursesw; then
+TERMCAP_LIB=-lncursesw
+TERMCAP_DEP=
elif test $bash_cv_termcap_lib = libc; then
TERMCAP_LIB=
TERMCAP_DEP=
......@@ -5,6 +5,9 @@
<exec executable="tar" failonerror="true">
<arg line="xf packages/bash/bash-5.0.tar.gz -C ${builddir}"/>
</exec>
<exec executable="patch" dir="${builddir}/bash-5.0" failonerror="true">
<arg line="-Np1 -i ${basedir}/packages/bash/bash-5.0-ncursesw_support.patch"/>
</exec>
<echo file="${makedir}/config.cache">ac_cv_func_mmap_fixed_mapped=yes
ac_cv_func_strcoll_works=yes
ac_cv_func_working_mktime=yes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment