# Depends on: ncurses
name=readline
-version=6.2.4
+version=6.3.6
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-${version::3}.tar.gz \
- $name-$version.patch.gz inputrc)
+ $name-$version.patch.gz inputrc $name-$version-wcwidth.patch)
build() {
cd $name-${version::3}
# Don't use rpath for linking the shared libs
sed -i '117s/-Wl,-rpath,$(libdir)//' support/shobj-conf
+ # Patch to avoid wcwidth tests
+ patch -i $SRC/$name-$version-wcwidth.patch
+
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \