summaryrefslogtreecommitdiffstats
path: root/readline
diff options
context:
space:
mode:
Diffstat (limited to 'readline')
-rw-r--r--readline/.md5sum.i6861
-rw-r--r--readline/.md5sum.x86_641
-rw-r--r--readline/Pkgfile7
3 files changed, 7 insertions, 2 deletions
diff --git a/readline/.md5sum.i686 b/readline/.md5sum.i686
index 55a23e9ee..4afb22e5c 100644
--- a/readline/.md5sum.i686
+++ b/readline/.md5sum.i686
@@ -1 +1,2 @@
+3c185f7b76001d3d0af614f6f2cd5dfa readline-6.2-fixes-1.patch
67948acb2ca081f23359d0256e9a271c readline-6.2.tar.gz
diff --git a/readline/.md5sum.x86_64 b/readline/.md5sum.x86_64
index 55a23e9ee..4afb22e5c 100644
--- a/readline/.md5sum.x86_64
+++ b/readline/.md5sum.x86_64
@@ -1 +1,2 @@
+3c185f7b76001d3d0af614f6f2cd5dfa readline-6.2-fixes-1.patch
67948acb2ca081f23359d0256e9a271c readline-6.2.tar.gz
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