Bug#1127629: lib3ds: diff for NMU version 1.3.0-10.1

Sébastien Noel <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <a0a67295-fd10-4b1f-91f2-df3eedad5ee2__12239.191708953$1786954393$gmane$org@twolife.be>
Dear maintainer,

I've prepared an NMU for lib3ds (versioned as 1.3.0-10.1) and
will uploaded it to DELAYED/5 in a few minutes.
Please feel free to tell me if I should cancel it.

Regards.
Sébastien
lib3ds-1.3.0-10.1-nmu.diff (text/x-patch, 1.1 KB)
diffstat for lib3ds-1.3.0 lib3ds-1.3.0

 changelog    |   11 +++++++++++
 tests/build1 |    2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff -Nru lib3ds-1.3.0/debian/changelog lib3ds-1.3.0/debian/changelog
--- lib3ds-1.3.0/debian/changelog	2020-05-05 18:50:03.000000000 +0200
+++ lib3ds-1.3.0/debian/changelog	2026-08-17 10:02:45.000000000 +0200
@@ -1,3 +1,14 @@
+lib3ds (1.3.0-10.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Sebastien Bacher ]
+  * debian/tests/build1:
+    - Fix autopkgtest failure due to C23 strrchr const-correctness
+      (Closes: #1127629)
+
+ -- Sébastien Noel <[email protected]>  Mon, 17 Aug 2026 10:02:45 +0200
+
 lib3ds (1.3.0-10) unstable; urgency=medium
 
   [ Jelmer Vernooij ]
diff -Nru lib3ds-1.3.0/debian/tests/build1 lib3ds-1.3.0/debian/tests/build1
--- lib3ds-1.3.0/debian/tests/build1	2020-05-05 18:50:03.000000000 +0200
+++ lib3ds-1.3.0/debian/tests/build1	2026-08-17 10:02:45.000000000 +0200
@@ -1277,7 +1277,7 @@
 static const char *
 Basename(const char *filename)
 {
-  char *ptr = strrchr(filename, '/');
+  const char *ptr = strrchr(filename, '/');
   return ptr != NULL ? ptr+1 : filename;
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.