diff --git a/var/spack/repos/builtin/packages/tut/package.py b/var/spack/repos/builtin/packages/tut/package.py index c0d2bbcc8f..02773c8ffa 100644 --- a/var/spack/repos/builtin/packages/tut/package.py +++ b/var/spack/repos/builtin/packages/tut/package.py @@ -33,6 +33,8 @@ class Tut(WafPackage): version('2016-12-19', '8b1967fa295ae1ce4d4431c2f811e521') + patch('python3-octal.patch', when='@2016-12-19') + def build_args(self): args = [] diff --git a/var/spack/repos/builtin/packages/tut/python3-octal.patch b/var/spack/repos/builtin/packages/tut/python3-octal.patch new file mode 100644 index 0000000000..d6d9b14273 --- /dev/null +++ b/var/spack/repos/builtin/packages/tut/python3-octal.patch @@ -0,0 +1,11 @@ +--- a/waftools/gcov.py 2016-12-19 04:55:44.000000000 -0600 ++++ b/waftools/gcov.py 2018-03-28 10:42:53.000000000 -0500 +@@ -13,7 +13,7 @@ + wrapper = NamedTemporaryFile(delete=False) + wrapper.write(script) + wrapper.close() +- os.chmod(wrapper.name, 0777) ++ os.chmod(wrapper.name, 0o777) + + yield wrapper.name +