ComputeLibrary/computelibrary-fix_opencl.patch

12 lines
546 B
Diff

--- ComputeLibrary-19.02.orig/SConscript 2019-04-11 14:22:27.016123111 +0200
+++ ComputeLibrary-19.02/SConscript 2019-04-11 14:22:30.812150049 +0200
@@ -70,7 +70,7 @@ def resolve_includes(target, source, env
for i in range(len(source)):
src = source[i]
dst = target[i]
- contents = src.get_contents().splitlines()
+ contents = src.get_contents().decode('utf-8').splitlines()
entry = FileEntry(target_name=dst, file_contents=contents)
files.append((os.path.basename(src.get_path()),entry))