diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-05 14:04:26 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-05 14:04:26 +0000 |
commit | 8fd9d385e5bc3c01115ec2ddcb2227607eb90861 (patch) | |
tree | aba1e6ef6b95e94172c009394cd1fcbc383e7d6e /media-sound/guitarix/files/guitarix-0.44.1-py3.11.patch | |
parent | 1ddcee0bd115d2f843f82061cb0d1741bf90151d (diff) |
gentoo auto-resync : 05:01:2024 - 14:04:25
Diffstat (limited to 'media-sound/guitarix/files/guitarix-0.44.1-py3.11.patch')
-rw-r--r-- | media-sound/guitarix/files/guitarix-0.44.1-py3.11.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/media-sound/guitarix/files/guitarix-0.44.1-py3.11.patch b/media-sound/guitarix/files/guitarix-0.44.1-py3.11.patch new file mode 100644 index 000000000000..f419c2ed7ce7 --- /dev/null +++ b/media-sound/guitarix/files/guitarix-0.44.1-py3.11.patch @@ -0,0 +1,20 @@ +From 39d7c21c4173eb0f121b1bbff439d9cf43331a00 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Hubert=20Figui=C3=A8re?= <hub@figuiere.net> +Date: Wed, 11 Jan 2023 18:55:36 -0500 +Subject: [PATCH] waf: python 3.11 removed the 'U' open mode + +Python3 deprecated it already by making this the default behaviour. +--- a/wscript ++++ b/wscript +@@ -537,7 +537,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) +-- +2.39.2 + |