diff options
author | Andreas Enge <andreas@enge.fr> | 2015-04-26 20:08:49 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2015-04-26 20:08:49 +0200 |
commit | 4ac0d6444d4edf38edc7c07331cf76deb4a506bc (patch) | |
tree | 5264c9c87172b8f0015823b0ee891d3672ac291a /gnu/packages/patches/pycairo-wscript.patch | |
parent | d074e2f99130782e8eb7fa44c79c01db6c86f77d (diff) | |
parent | 7bde30e18de3e8cd7e4156ea5bb0d9439b6c12d7 (diff) |
Merge branch 'master' into core-updates.
Diffstat (limited to 'gnu/packages/patches/pycairo-wscript.patch')
-rw-r--r-- | gnu/packages/patches/pycairo-wscript.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/patches/pycairo-wscript.patch b/gnu/packages/patches/pycairo-wscript.patch new file mode 100644 index 00000000000..c49f0afcb38 --- /dev/null +++ b/gnu/packages/patches/pycairo-wscript.patch @@ -0,0 +1,31 @@ +Update the wscript to work with waf-1.8.8. Based on: +http://cgit.freedesktop.org/pycairo/commit/?id=c57cd129407c904f8c2f752a59d0183df7b01a5e + + +--- pycairo-1.10.0.orig/wscript 2011-04-18 15:42:29.000000000 +0800 ++++ pycairo-1.10.0/wscript 2015-04-20 13:01:45.383756898 +0800 +@@ -13,18 +13,18 @@ + + def options(ctx): + print(' %s/options()' %d) +- ctx.tool_options('gnu_dirs') +- ctx.tool_options('compiler_cc') +- ctx.tool_options('python') # options for disabling pyc or pyo compilation ++ ctx.load('gnu_dirs') ++ ctx.load('compiler_c') ++ ctx.load('python') # options for disabling pyc or pyo compilation + + + def configure(ctx): + print(' %s/configure()' %d) + + env = ctx.env +- ctx.check_tool('gnu_dirs') +- ctx.check_tool('compiler_cc') +- ctx.check_tool('python') ++ ctx.load('gnu_dirs') ++ ctx.load('compiler_c') ++ ctx.load('python') + ctx.check_python_version((3,1,0)) + ctx.check_python_headers() + ctx.check_cfg(package='cairo', atleast_version=cairo_version_required, |