parted: fix build with readline>=6.3.

This commit is contained in:
Juan RP 2014-02-27 16:04:32 +01:00
parent e6a588ae64
commit 3b275534a4
1 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,11 @@ maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://ftp.gnu.org/gnu/parted/parted-$version.tar.xz"
checksum=5e9cc1f91eaf016e5033d85b9b893fd6d3ffaca532a48de1082df9b94225ca15
pre_build() {
# Fix for readline>=6.3
sed -e 's,(CPPFunction \*),,' -i parted/ui.c
}
libparted_package() {
short_desc+=" - shared library"
pkg_install() {