diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-05-08 21:53:17 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-05-12 07:35:55 +0700 |
commit | afa449ab6e1d28d5efc57068da630b29494a6b78 (patch) | |
tree | 16e861afb12a229f7559f05428590355efa0a3c3 /python/py3cairo/py3cairo.SlackBuild | |
parent | a211de6abd838b51e9d7ce34e8636ec9a927c845 (diff) | |
download | slackbuilds-afa449ab6e1d28d5efc57068da630b29494a6b78.tar.gz |
python/py3cairo: Fixed build with Python 3.4.0.
Thanks to ml4711 who posted patches from LFS.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/py3cairo/py3cairo.SlackBuild')
-rw-r--r-- | python/py3cairo/py3cairo.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/python/py3cairo/py3cairo.SlackBuild b/python/py3cairo/py3cairo.SlackBuild index 8207ee2dd9..e18a71a2bc 100644 --- a/python/py3cairo/py3cairo.SlackBuild +++ b/python/py3cairo/py3cairo.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=py3cairo SRCNAM=pycairo VERSION=${VERSION:-1.10.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -72,6 +72,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +patch -p1 < $CWD/pycairo-1.10.0-waf_unpack-1.patch +wafdir=$(python3 ./waf unpack) +pushd $wafdir +patch -p1 < $CWD/pycairo-1.10.0-waf_python_3_4-1.patch +popd +unset wafdir + PYTHON="/usr/bin/python3" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |