Files
meta-musicians/recipes-musicians/hermann/guitarix/0004-fix-waf-binary-read.patch

14 lines
417 B
Diff

Index: trunk/wscript
===================================================================
--- trunk.orig/wscript
+++ trunk/wscript
@@ -532,7 +532,7 @@ def sub_file(task):
dst_fname = task.outputs[0].abspath()
lst = task.generator.sub_list
- with open(src_fname, 'rU') as f:
+ with open(src_fname, 'r') as f:
txt = f.read()
for (key, val) in lst:
re_pat = re.compile(key, re.M)