seed: fix build with readline>=6.3.

This commit is contained in:
Juan RP 2014-02-27 17:44:14 +01:00
parent 5c91cfbdf3
commit 26ed4b7055
1 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,11 @@ license="LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/3.8/$pkgname-$version.tar.xz" distfiles="${GNOME_SITE}/$pkgname/3.8/$pkgname-$version.tar.xz"
checksum=80cb4db7fa6f6cf8d3e255fc45a81657388d458bc8bf23e4089e35f69eeaac32 checksum=80cb4db7fa6f6cf8d3e255fc45a81657388d458bc8bf23e4089e35f69eeaac32
pre_configure() {
# Fix for readline>=6.3
sed -e 's,(Function \*),,g' -i modules/readline/seed-readline.c
}
libseed-devel_package() { libseed-devel_package() {
depends="webkitgtk-devel libgirepository-devel libglib-devel depends="webkitgtk-devel libgirepository-devel libglib-devel
libseed-${version}_${revision}" libseed-${version}_${revision}"