void-packages/srcpkgs/python3-altgraph/patches/python-3.11.patch

12 lines
262 B
Diff

--- a/setup.py
+++ b/setup.py
@@ -213,7 +213,7 @@ def parse_setup_cfg():
else:
parts = []
for nm in v.split():
- fp = open(nm, "rU")
+ fp = open(nm, "r")
parts.append(fp.read())
fp.close()