termux-packages/x11-packages/the-powder-toy/The-Powder-Toy-93.3_SConstruct.patch
2022-04-18 14:08:05 +05:30

13 lines
509 B
Diff

diff -uNr The-Powder-Toy-93.3/SConstruct The-Powder-Toy-93.3.mod/SConstruct
--- The-Powder-Toy-93.3/SConstruct 2018-04-02 00:19:03.000000000 +0300
+++ The-Powder-Toy-93.3.mod/SConstruct 2018-06-15 13:55:36.199587222 +0300
@@ -2,7 +2,7 @@
#run generator.py
if not GetOption('clean'):
if sys.version_info[0] < 3:
- execfile("generator.py")
+ exec(compile(open("generator.py").read(), "generator.py", 'exec'))
else:
with open("generator.py") as f:
code = compile(f.read(), "generator.py", 'exec')