]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - python3-cairo/patches/cairo-waf-use-python-config-as-shell-script.patch0
python3-cairo: Rebuild against Python 3.4
[people/amarx/ipfire-3.x.git] / python3-cairo / patches / cairo-waf-use-python-config-as-shell-script.patch0
1 --- .waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Tools/python.py.orig 2014-05-12 12:36:46.776004776 +0200
2 +++ .waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Tools/python.py 2014-05-12 12:36:53.994995779 +0200
3 @@ -169,7 +169,7 @@
4 conf.find_program('python-config-%s'%num,var='PYTHON_CONFIG',mandatory=False)
5 includes=[]
6 if conf.env.PYTHON_CONFIG:
7 - for incstr in conf.cmd_and_log(conf.env.PYTHON+[conf.env.PYTHON_CONFIG,'--includes']).strip().split():
8 + for incstr in conf.cmd_and_log([conf.env.PYTHON_CONFIG,'--includes']).strip().split():
9 if(incstr.startswith('-I')or incstr.startswith('/I')):
10 incstr=incstr[2:]
11 if incstr not in includes: