void-packages/srcpkgs/subversion/patches/python3.12.patch

12 lines
290 B
Diff

--- ./build/generator/gen_base.py
+++ ./build/generator/gen_base.py
@@ -76,7 +76,7 @@
# Now read and parse build.conf
parser = configparser.ConfigParser()
- parser.readfp(open(fname))
+ parser.read_file(open(fname))
self.conf = build_path(os.path.abspath(fname))