summaryrefslogtreecommitdiff
path: root/python/py3cairo/py3cairo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/py3cairo/py3cairo.SlackBuild')
-rw-r--r--python/py3cairo/py3cairo.SlackBuild9
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" \