mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
guitarix2: fix build with Python 3.11
This commit is contained in:
parent
cca12d0914
commit
3342b03974
1 changed files with 13 additions and 0 deletions
13
srcpkgs/guitarix2/patches/python-3.11.patch
Normal file
13
srcpkgs/guitarix2/patches/python-3.11.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
Index: guitarix2-0.42.1/wscript
|
||||||
|
===================================================================
|
||||||
|
--- guitarix2-0.42.1.orig/wscript
|
||||||
|
+++ guitarix2-0.42.1/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)
|
Loading…
Add table
Reference in a new issue