From 5cdf695581af2b0caa22f11c9695d99ad33db84d Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sat, 23 Sep 2023 21:02:50 -0400 Subject: [PATCH] subversion: rebuild for Python 3.12 --- srcpkgs/subversion/patches/python3.12.patch | 11 +++++++++++ srcpkgs/subversion/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/subversion/patches/python3.12.patch diff --git a/srcpkgs/subversion/patches/python3.12.patch b/srcpkgs/subversion/patches/python3.12.patch new file mode 100644 index 00000000000..6e05ce83ddf --- /dev/null +++ b/srcpkgs/subversion/patches/python3.12.patch @@ -0,0 +1,11 @@ +--- ./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)) + diff --git a/srcpkgs/subversion/template b/srcpkgs/subversion/template index bce02352f3d..793ebf88400 100644 --- a/srcpkgs/subversion/template +++ b/srcpkgs/subversion/template @@ -4,7 +4,7 @@ # pkgname=subversion version=1.14.2 -revision=4 +revision=5 build_style=gnu-configure configure_args="--disable-javahl --disable-static --config-cache --with-gnome-keyring --with-editor=vi --disable-mod-activation