1 Use read_file instead of deprecated readfp - removed in Python 3.11
3 diff -ur subversion-1.14.1/build/generator/gen_base.py subversion-1.14.1-patched/build/generator/gen_base.py
4 --- subversion-1.14.1/build/generator/gen_base.py 2019-11-04 06:59:36.000000000 +0100
5 +++ subversion-1.14.1-patched/build/generator/gen_base.py 2021-12-15 14:04:50.041649320 +0100
8 # Now read and parse build.conf
9 parser = configparser.ConfigParser()
10 - parser.readfp(open(fname))
11 + parser.read_file(open(fname))
13 self.conf = build_path(os.path.abspath(fname))