Blame SOURCES/galera-python3.patch

9852d1
Upstream PR:
9852d1
https://github.com/codership/galera/pull/512
9852d1
9852d1
diff -up galera-25.3.23/SConstruct.bak galera-25.3.23/SConstruct
9852d1
--- galera-25.3.23/SConstruct.bak	2018-07-13 15:14:49.059835554 +0200
9852d1
+++ galera-25.3.23/SConstruct	2018-07-13 15:19:07.717967794 +0200
9852d1
@@ -194,8 +194,8 @@ if link != 'default':
9852d1
     env.Replace(LINK = link)
9852d1
 
9852d1
 # Get compiler name/version, CXX may be set to "c++" which may be clang or gcc
9852d1
-cc_version = str(read_first_line(env['CC'].split() + ['--version']))
9852d1
-cxx_version = str(read_first_line(env['CXX'].split() + ['--version']))
9852d1
+cc_version = str(read_first_line(env['CC'].split() + ['--version']).decode())
9852d1
+cxx_version = str(read_first_line(env['CXX'].split() + ['--version']).decode())
9852d1
 
9852d1
 print('Using C compiler executable: ' + env['CC'])
9852d1
 print('C compiler version is: ' + cc_version)