summaryrefslogtreecommitdiffstats
path: root/readline/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'readline/Pkgfile')
-rw-r--r--readline/Pkgfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/readline/Pkgfile b/readline/Pkgfile
index b21a99b66..a47cdc0bc 100644
--- a/readline/Pkgfile
+++ b/readline/Pkgfile
@@ -5,12 +5,15 @@
name=readline
version=6.2
-release=2
-source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
+release=3
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz
+ http://www.linuxfromscratch.org/patches/lfs/development/$name-$version-fixes-1.patch)
build() {
cd $name-$version
+ patch -p1 < ../$name-$version-fixes-1.patch
+
export LDFLAGS="-I%{_includedir}/ncursesw -lncursesw"
sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf