From 3b275534a4af9f352266e33a84f714e54b3b8a4f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 27 Feb 2014 16:04:32 +0100 Subject: [PATCH] parted: fix build with readline>=6.3. --- srcpkgs/parted/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/parted/template b/srcpkgs/parted/template index d733863e5a2..4955c619070 100644 --- a/srcpkgs/parted/template +++ b/srcpkgs/parted/template @@ -13,6 +13,11 @@ maintainer="Juan RP " 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() {