Control: tags 1096467 + pending

Dear maintainer,

I've prepared an NMU for cpio (versioned as 2.15+dfsg-2.1) and
uploaded it. Due to you being listed in LowThresHoldNMu directly to sid.

Regards,

Rene
diffstat for cpio-2.15+dfsg cpio-2.15+dfsg

 changelog                        |    9 +++++++
 patches/Fix-c23-conformity.patch |   45 +++++++++++++++++++++++++++++++++++++++
 patches/series                   |    1 
 3 files changed, 55 insertions(+)

diff -Nru cpio-2.15+dfsg/debian/changelog cpio-2.15+dfsg/debian/changelog
--- cpio-2.15+dfsg/debian/changelog	2024-07-27 14:34:40.000000000 +0200
+++ cpio-2.15+dfsg/debian/changelog	2025-12-21 13:23:06.000000000 +0100
@@ -1,3 +1,12 @@
+cpio (2.15+dfsg-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  * debian/patches/Fix-c23-conformity.patch: add upstream commit fixing build
+    with g++15 (C23) (closes: #1096467)
+
+ -- Rene Engelhard <[email protected]>  Sun, 21 Dec 2025 13:23:06 +0100
+
 cpio (2.15+dfsg-2) unstable; urgency=medium
 
   [ Miriam EspaƱa Acebal <[email protected]> ]
diff -Nru cpio-2.15+dfsg/debian/patches/Fix-c23-conformity.patch cpio-2.15+dfsg/debian/patches/Fix-c23-conformity.patch
--- cpio-2.15+dfsg/debian/patches/Fix-c23-conformity.patch	1970-01-01 01:00:00.000000000 +0100
+++ cpio-2.15+dfsg/debian/patches/Fix-c23-conformity.patch	2025-12-21 13:22:52.000000000 +0100
@@ -0,0 +1,45 @@
+From f42137f5ab9cf07d1e62edc05e0212688d3ebaa2 Mon Sep 17 00:00:00 2001
+From: Sergey Poznyakoff <[email protected]>
+Date: Tue, 6 May 2025 21:02:43 +0300
+Subject: [PATCH] Fix c23 conformity
+
+---
+ src/extern.h | 4 ++--
+ src/global.c | 4 ++--
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/src/extern.h b/src/extern.h
+index bf3d5b3..455119b 100644
+--- a/src/extern.h
++++ b/src/extern.h
+@@ -96,8 +96,8 @@ extern char input_is_special;
+ extern char output_is_special;
+ extern char input_is_seekable;
+ extern char output_is_seekable;
+-extern int (*xstat) ();
+-extern void (*copy_function) ();
++extern int (*xstat) (const char *, struct stat *);
++extern void (*copy_function) (void);
+ extern char *change_directory_option;
+ 
+ #define STRINGIFY_BIGINT(i, b) umaxtostr (i, b)
+diff --git a/src/global.c b/src/global.c
+index 66686f2..5c6ab16 100644
+--- a/src/global.c
++++ b/src/global.c
+@@ -184,10 +184,10 @@ bool to_stdout_option = false;
+ 
+ /* A pointer to either lstat or stat, depending on whether
+    dereferencing of symlinks is done for input files.  */
+-int (*xstat) ();
++int (*xstat) (const char *, struct stat *);
+ 
+ /* Which copy operation to perform. (-i, -o, -p) */
+-void (*copy_function) () = 0;
++void (*copy_function) (void) = 0;
+ 
+ char *change_directory_option;
+ 
+-- 
+2.47.2
+
diff -Nru cpio-2.15+dfsg/debian/patches/series cpio-2.15+dfsg/debian/patches/series
--- cpio-2.15+dfsg/debian/patches/series	2023-12-22 05:46:04.000000000 +0100
+++ cpio-2.15+dfsg/debian/patches/series	2025-12-21 13:23:05.000000000 +0100
@@ -6,3 +6,4 @@
 588020-manpages-see-also.patch
 695717-no-cpio.info.patch
 fix.mt-erase.manpage.patch
+Fix-c23-conformity.patch

Reply via email to