mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
afa449ab6e
Thanks to ml4711 who posted patches from LFS. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
19 lines
846 B
Diff
19 lines
846 B
Diff
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:
|