head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.08.27.09.39.59; author wiz; state Exp; branches; next ; commitid 0xO75fvIVSzF5gTG; desc @@ 1.1 log @hplip: add two patches for Python 3.12 compatibility Tested by Dave Tyson on pkgsrc-users. regen two other patches while here. Bump PKGREVISION. @ text @$NetBSD$ Adapt to Python 3.12 changes. --- ui5/devmgr5.py.orig 2026-08-27 09:36:12.651743936 +0000 +++ ui5/devmgr5.py @@@@ -1069,7 +1069,7 @@@@ class DevMgr5(Ui_MainWindow_Derived, Ui_MainWindow, QM hplip_conf = configparser.ConfigParser() fp = open("/etc/hp/hplip.conf", "r") - hplip_conf.readfp(fp) + hplip_conf.read_file(fp, "/etc/hp/hplip.conf") fp.close() try: @