Andreas Stieger
21d3b61d19
Added scons-fixpy3errors.patch to address boo#1083830 OBS-URL: https://build.opensuse.org/request/show/587455 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/scons?expand=0&rev=57
14 lines
605 B
Diff
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):
|
|
"""
|