Bug#1127629: lib3ds: autopkgtest failure with glibc 2.43 due to ISO C23 const return types
Sebastien Bacher
sebastien.bacher at canonical.com
Mon Mar 16 13:25:44 GMT 2026
tags 1127629 + patch
thanks
The attached patch should fix the issue
-------------- next part --------------
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-03-16 14:10:26.000000000 +0100
@@ -1,3 +1,11 @@
+lib3ds (1.3.0-11) unstable; urgency=medium
+
+ * debian/tests/build1:
+ - Fix autopkgtest failure due to C23 strrchr const-correctness
+ (Closes: #1127629)
+
+ -- Sebastien Bacher <seb128 at ubuntu.com> Mon, 16 Mar 2026 14:10:26 +0100
+
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-03-16 14:10:26.000000000 +0100
@@ -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;
}
More information about the debian-science-maintainers
mailing list