01-waf-python-config.patch revision 6954
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinWorkaround https://github.com/waf-project/waf/issues/1515 since pycairo
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinbundled a much older version of waf without that fix, so waf assumes
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinpython*-config is a python script and barfs on our shell script version.
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulkner
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin--- pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Tools/python.py
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin+++ pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Tools/python.py
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin@@ -169,7 +169,7 @@
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin conf.find_program('python-config-%s'%num,var='PYTHON_CONFIG',mandatory=False)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin includes=[]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin if conf.env.PYTHON_CONFIG:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin- for incstr in conf.cmd_and_log(conf.env.PYTHON+[conf.env.PYTHON_CONFIG,'--includes']).strip().split():
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin+ for incstr in conf.cmd_and_log([conf.env.PYTHON_CONFIG,'--includes']).strip().split():
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin if(incstr.startswith('-I')or incstr.startswith('/I')):
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin incstr=incstr[2:]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin if incstr not in includes:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin