db-move: moved webkitgtk-6.0 from [testing] to [extra] (x86_64)
[arch-packages.git] / subversion / trunk / subversion-1.14.1-python-3.11-build.patch
blob8801ffe9c45775e734ba82e96264f12d994aa833
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
6 @@ -76,7 +76,7 @@
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))