Control: tags 1040940 + patch Control: tags 1040940 + pending Dear maintainer,
I've prepared an NMU for rmlint (versioned as 2.9.0-2.5) and uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it. cu Adrian
diff -Nru rmlint-2.9.0/debian/changelog rmlint-2.9.0/debian/changelog --- rmlint-2.9.0/debian/changelog 2023-07-05 11:31:46.000000000 +0300 +++ rmlint-2.9.0/debian/changelog 2023-08-05 17:16:05.000000000 +0300 @@ -1,3 +1,11 @@ +rmlint (2.9.0-2.5) unstable; urgency=high + + * Non-maintainer upload. + * Add upstream fix for GUI startup failure with recent python3.11. + (Closes: #1040940) + + -- Adrian Bunk <b...@debian.org> Sat, 05 Aug 2023 17:16:05 +0300 + rmlint (2.9.0-2.4) unstable; urgency=medium * Non-maintainer upload. diff -Nru rmlint-2.9.0/debian/patches/0001-cmdline-do-not-write-NUL-byte-to-GUI-bootstrap-scrip.patch rmlint-2.9.0/debian/patches/0001-cmdline-do-not-write-NUL-byte-to-GUI-bootstrap-scrip.patch --- rmlint-2.9.0/debian/patches/0001-cmdline-do-not-write-NUL-byte-to-GUI-bootstrap-scrip.patch 1970-01-01 02:00:00.000000000 +0200 +++ rmlint-2.9.0/debian/patches/0001-cmdline-do-not-write-NUL-byte-to-GUI-bootstrap-scrip.patch 2023-08-05 17:13:47.000000000 +0300 @@ -0,0 +1,26 @@ +From e811a34bdf81f0f5366b07077432f8ab9c776ddd Mon Sep 17 00:00:00 2001 +From: Cebtenzzre <cebtenz...@gmail.com> +Date: Wed, 2 Aug 2023 21:29:15 -0400 +Subject: cmdline: do not write NUL byte to GUI bootstrap script + +Fixes #628 +--- + lib/cmdline.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/cmdline.c b/lib/cmdline.c +index d5b1338c..07ba104a 100644 +--- a/lib/cmdline.c ++++ b/lib/cmdline.c +@@ -176,7 +176,7 @@ static void rm_cmd_start_gui(int argc, const char **argv) { + return; + } + +- if(write(bootstrap_fd, RM_PY_BOOTSTRAP, sizeof(RM_PY_BOOTSTRAP)) < 0) { ++ if(write(bootstrap_fd, RM_PY_BOOTSTRAP, strlen(RM_PY_BOOTSTRAP)) < 0) { + rm_log_warning_line("Could not bootstrap gui: Unable to write to tempfile: %s", + g_strerror(errno)); + return; +-- +2.30.2 + diff -Nru rmlint-2.9.0/debian/patches/series rmlint-2.9.0/debian/patches/series --- rmlint-2.9.0/debian/patches/series 2023-07-05 11:31:46.000000000 +0300 +++ rmlint-2.9.0/debian/patches/series 2023-08-05 17:15:59.000000000 +0300 @@ -9,3 +9,4 @@ 0001-fix-link-error-on-compilers-with-fno-common-enabled.patch 0010-apply-upstream-fix-for-data-loss-bug.patch python-version-number.patch +0001-cmdline-do-not-write-NUL-byte-to-GUI-bootstrap-scrip.patch