scons/scons-fixpy3errors.patch

14 lines
605 B
Diff

Index: engine/SCons/SConf.py
===================================================================
--- engine/SCons/SConf.py.orig 2017-11-14 23:16:57.000000000 +0200
+++ engine/SCons/SConf.py 2018-03-12 10:29:24.210006787 +0200
@@ -168,7 +168,7 @@ def _createSource( target, source, env )
fd.close()
def _stringSource( target, source, env ):
return (str(target[0]) + ' <-\n |' +
- source[0].get_contents().decode().replace( '\n', "\n |" ) )
+ source[0].get_text_contents().decode().replace( '\n', "\n |" ) )
class SConfBuildInfo(SCons.Node.FS.FileBuildInfo):
"""