tags 1127629 + patch thanks
The attached patch should fix the issue
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 <[email protected]> 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; }

