Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
--- bash-4.3/configure.orig	2014-02-11 15:38:00.000000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+++ bash-4.3/configure	2016-03-02 10:32:54.098832248 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
@@ -2870,6 +2870,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 *-opennt*|*-interix*)	opt_bash_malloc=no ;;	# Interix, now owned by Microsoft
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 *-nsk*)		opt_bash_malloc=no ;;	# HP NonStop
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 *-haiku*)	opt_bash_malloc=no ;;	# Haiku OS
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+*-midipix*)	opt_bash_malloc=no ;;	# Midipix
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 esac
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 # memory scrambling on free()
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
@@ -5167,13 +5168,13 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 if test "x$ac_cv_lib_curses_tgetent" = xyes; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
   bash_cv_termcap_lib=libcurses
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 else
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lncurses" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-$as_echo_n "checking for tgetent in -lncurses... " >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-if ${ac_cv_lib_ncurses_tgetent+:} false; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lncursesw" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+$as_echo_n "checking for tgetent in -lncursesw... " >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+if ${ac_cv_lib_ncursesw_tgetent+:} false; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
   $as_echo_n "(cached) " >&6
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 else
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
   ac_check_lib_save_LIBS=$LIBS
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-LIBS="-lncurses  $LIBS"
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+LIBS="-lncursesw  $LIBS"
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 /* end confdefs.h.  */
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
@@ -5193,18 +5194,18 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 }
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 _ACEOF
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 if ac_fn_c_try_link "$LINENO"; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-  ac_cv_lib_ncurses_tgetent=yes
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+  ac_cv_lib_ncursesw_tgetent=yes
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 else
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-  ac_cv_lib_ncurses_tgetent=no
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+  ac_cv_lib_ncursesw_tgetent=no
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 rm -f core conftest.err conftest.$ac_objext \
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
     conftest$ac_exeext conftest.$ac_ext
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 LIBS=$ac_check_lib_save_LIBS
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tgetent" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-$as_echo "$ac_cv_lib_ncurses_tgetent" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-if test "x$ac_cv_lib_ncurses_tgetent" = xyes; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-  bash_cv_termcap_lib=libncurses
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_tgetent" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+$as_echo "$ac_cv_lib_ncursesw_tgetent" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+if test "x$ac_cv_lib_ncursesw_tgetent" = xyes; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+  bash_cv_termcap_lib=libncursesw
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 else
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
   bash_cv_termcap_lib=gnutermcap
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
@@ -5235,8 +5236,8 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 elif test $bash_cv_termcap_lib = libtinfo; then
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 TERMCAP_LIB=-ltinfo
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 TERMCAP_DEP=
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-elif test $bash_cv_termcap_lib = libncurses; then
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-TERMCAP_LIB=-lncurses
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+elif test $bash_cv_termcap_lib = libncursesw; then
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+TERMCAP_LIB=-lncursesw
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 TERMCAP_DEP=
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 elif test $bash_cv_termcap_lib = libc; then
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 TERMCAP_LIB=
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
@@ -15708,13 +15709,13 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 if test "x$ac_cv_lib_curses_tgetent" = xyes; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
   bash_cv_termcap_lib=libcurses
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 else
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lncurses" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-$as_echo_n "checking for tgetent in -lncurses... " >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-if ${ac_cv_lib_ncurses_tgetent+:} false; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lncursesw" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+$as_echo_n "checking for tgetent in -lncursesw... " >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+if ${ac_cv_lib_ncursesw_tgetent+:} false; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
   $as_echo_n "(cached) " >&6
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 else
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
   ac_check_lib_save_LIBS=$LIBS
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-LIBS="-lncurses  $LIBS"
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+LIBS="-lncursesw  $LIBS"
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 /* end confdefs.h.  */
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
@@ -15734,18 +15735,18 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 }
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 _ACEOF
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 if ac_fn_c_try_link "$LINENO"; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-  ac_cv_lib_ncurses_tgetent=yes
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+  ac_cv_lib_ncursesw_tgetent=yes
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 else
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-  ac_cv_lib_ncurses_tgetent=no
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+  ac_cv_lib_ncursesw_tgetent=no
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 rm -f core conftest.err conftest.$ac_objext \
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
     conftest$ac_exeext conftest.$ac_ext
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 LIBS=$ac_check_lib_save_LIBS
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tgetent" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-$as_echo "$ac_cv_lib_ncurses_tgetent" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-if test "x$ac_cv_lib_ncurses_tgetent" = xyes; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-  bash_cv_termcap_lib=libncurses
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncursesw_tgetent" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+$as_echo "$ac_cv_lib_ncursesw_tgetent" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+if test "x$ac_cv_lib_ncursesw_tgetent" = xyes; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+  bash_cv_termcap_lib=libncursesw
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 else
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
   bash_cv_termcap_lib=gnutermcap
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 fi
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
@@ -15776,8 +15777,8 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 elif test $bash_cv_termcap_lib = libtinfo; then
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 TERMCAP_LIB=-ltinfo
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 TERMCAP_DEP=
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-elif test $bash_cv_termcap_lib = libncurses; then
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
-TERMCAP_LIB=-lncurses
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+elif test $bash_cv_termcap_lib = libncursesw; then
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
+TERMCAP_LIB=-lncursesw
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 TERMCAP_DEP=
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 elif test $bash_cv_termcap_lib = libc; then
Lucio Andrés Illanes Albornoz (arab, vxp) 0fdea6
 TERMCAP_LIB=