summaryrefslogtreecommitdiff
path: root/python/py3cairo/pycairo-1.10.0-waf_python_3_4-1.patch
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-08 21:53:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-12 07:35:55 +0700
commitafa449ab6e1d28d5efc57068da630b29494a6b78 (patch)
tree16e861afb12a229f7559f05428590355efa0a3c3 /python/py3cairo/pycairo-1.10.0-waf_python_3_4-1.patch
parenta211de6abd838b51e9d7ce34e8636ec9a927c845 (diff)
downloadslackbuilds-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/pycairo-1.10.0-waf_python_3_4-1.patch')
-rw-r--r--python/py3cairo/pycairo-1.10.0-waf_python_3_4-1.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/python/py3cairo/pycairo-1.10.0-waf_python_3_4-1.patch b/python/py3cairo/pycairo-1.10.0-waf_python_3_4-1.patch
new file mode 100644
index 0000000000..83f69bdeeb
--- /dev/null
+++ b/python/py3cairo/pycairo-1.10.0-waf_python_3_4-1.patch
@@ -0,0 +1,19 @@
+Submitted by: Wayne Blaszczyk (wblaszcz at bigpond dot net dot au)
+Date: 2014-03-27
+Initial Package Version: 1.10.0
+Upstream Status: unknown
+Origin: Gentoo
+URL: https://bugs.gentoo.org/show_bug.cgi?id=504342
+Description: Fix build with Python-3.4
+
+--- a/waflib/Tools/python.py
++++ b/waflib/Tools/python.py
+@@ -169,7 +169,7 @@
+ conf.find_program('python-config-%s'%num,var='PYTHON_CONFIG',mandatory=False)
+ includes=[]
+ if conf.env.PYTHON_CONFIG:
+- for incstr in conf.cmd_and_log(conf.env.PYTHON+[conf.env.PYTHON_CONFIG,'--includes']).strip().split():
++ for incstr in conf.cmd_and_log([conf.env.PYTHON_CONFIG,'--includes']).strip().split():
+ if(incstr.startswith('-I')or incstr.startswith('/I')):
+ incstr=incstr[2:]
+ if incstr not in includes: