Fix Python3 bug in tut (#7627)

* Fix Python3 bug in tut

* Revert URL change
This commit is contained in:
Adam J. Stewart 2018-03-29 14:43:12 -05:00 committed by GitHub
parent 90c0c12f2a
commit 499ed2385c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View file

@ -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 = []

View file

@ -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