diff -Nru oregano-0.84.41+dfsg.1/debian/changelog oregano-0.84.41+dfsg.1/debian/changelog --- oregano-0.84.41+dfsg.1/debian/changelog 2022-03-12 12:53:19.000000000 +0000 +++ oregano-0.84.41+dfsg.1/debian/changelog 2023-02-12 11:17:30.000000000 +0000 @@ -1,8 +1,10 @@ -oregano (0.84.41+dfsg.1-1build1) jammy; urgency=medium +oregano (0.84.41+dfsg.1-1.1) unstable; urgency=medium - * No-change rebuild against latest gdk-pixbuf + * Non-maintainer upload. + * Add patch from Bas Couwenberg to fix FTBFS with Python 3.11. + (Closes: #1028794) - -- Jeremy Bicha Sat, 12 Mar 2022 07:53:19 -0500 + -- Adrian Bunk Sun, 12 Feb 2023 13:17:30 +0200 oregano (0.84.41+dfsg.1-1) unstable; urgency=medium diff -Nru oregano-0.84.41+dfsg.1/debian/patches/python3.11.patch oregano-0.84.41+dfsg.1/debian/patches/python3.11.patch --- oregano-0.84.41+dfsg.1/debian/patches/python3.11.patch 1970-01-01 00:00:00.000000000 +0000 +++ oregano-0.84.41+dfsg.1/debian/patches/python3.11.patch 2023-02-12 11:17:25.000000000 +0000 @@ -0,0 +1,35 @@ +Description: Don't use U mode, removed in python3.11. +Author: Bas Couwenberg +Bug-Debian: https://bugs.debian.org/1028794 + +--- a/waflib/ConfigSet.py ++++ b/waflib/ConfigSet.py +@@ -146,7 +146,7 @@ class ConfigSet(object): + Utils.writef(filename,''.join(buf)) + def load(self,filename): + tbl=self.table +- code=Utils.readf(filename,m='rU') ++ code=Utils.readf(filename,m='r') + for m in re_imp.finditer(code): + g=m.group + tbl[g(2)]=eval(g(3)) +--- a/waflib/Context.py ++++ b/waflib/Context.py +@@ -106,7 +106,7 @@ class Context(ctx): + cache[node]=True + self.pre_recurse(node) + try: +- function_code=node.read('rU',encoding) ++ function_code=node.read('r',encoding) + exec(compile(function_code,node.abspath(),'exec'),self.exec_dict) + finally: + self.post_recurse(node) +@@ -346,7 +346,7 @@ def load_module(path,encoding=None): + pass + module=imp.new_module(WSCRIPT_FILE) + try: +- code=Utils.readf(path,m='rU',encoding=encoding) ++ code=Utils.readf(path,m='r',encoding=encoding) + except EnvironmentError: + raise Errors.WafError('Could not read the file %r'%path) + module_dir=os.path.dirname(path) diff -Nru oregano-0.84.41+dfsg.1/debian/patches/series oregano-0.84.41+dfsg.1/debian/patches/series --- oregano-0.84.41+dfsg.1/debian/patches/series 2019-01-29 15:36:16.000000000 +0000 +++ oregano-0.84.41+dfsg.1/debian/patches/series 2023-02-12 11:17:25.000000000 +0000 @@ -2,3 +2,4 @@ 0007-Update-russian-translation.patch 0003-Remove-Encoding-field-in-desktop-file.patch 0004-Spelling-fixes.patch +python3.11.patch