On Wed, 03 Jul 2024 12:35:05 +0000 Matthias Klose <[email protected]> wrote: > > [This bug is targeted to the upcoming trixie release] > > Please keep this issue open in the bug tracker for the package it > was filed for. If a fix in another package is required, please > file a bug for the other package (or clone), and add a block in this > package. Please keep the issue open until the package can be built in > a follow-up test rebuild. > > The package fails to build in a test rebuild on at least amd64 with > gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The > severity of this report will be raised before the trixie release. >
Control: tags 1075229 + patch The attached patch seems to fix this. /Andreas Rönnquist [email protected]
From: =?utf-8?q?Andreas_R=C3=B6nnquist?= <[email protected]> Date: Mon, 29 Jul 2024 14:55:22 +0200 Subject: Use const struct direct in file_select --- list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/list.c b/list.c index 65359cd..109b0d1 100644 --- a/list.c +++ b/list.c @@ -8,7 +8,7 @@ /* local prototypes */ -int file_select (struct direct *entry); +int file_select (const struct direct *entry); GSList * lmem_dir_list (GSList * file_list, gchar * directory_name) @@ -56,7 +56,7 @@ lmem_dir_list (GSList * file_list, gchar * directory_name) } int -file_select (struct direct *entry) +file_select (const struct direct *entry) { /* ignore . and .. entries */ if ((strcmp (entry->d_name, ".") == 0) || (strcmp (entry->d_name, "..") == 0))

