python: fix readline module to build with >=6.3.

This commit is contained in:
Juan RP 2014-03-14 16:05:48 +01:00
parent 92cb7f5046
commit 78b0e26b27
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template build file for 'python'.
pkgname=python
version=2.7.6
revision=7
revision=8
wrksrc="Python-${version}"
hostmakedepends="pkg-config"
makedepends="libffi-devel readline-devel>=6.3 gdbm-devel openssl-devel expat-devel sqlite-devel bzip2-devel zlib-devel"
@ -18,6 +18,8 @@ pre_configure() {
rm -r Modules/expat
rm -r Modules/_ctypes/libffi*
rm -r Modules/zlib
# Fix readline module to build with readline>=6.3.
sed -e 's,(CPPFunction \*),,g;s,(Function \*),,g' -i Modules/readline.c
}
do_configure() {