Here's an NMU diff that fixes the FTBFS. In incoming right now.
-- Steve McIntyre, Cambridge, UK. st...@einval.com "I used to be the first kid on the block wanting a cranial implant, now I want to be the first with a cranial firewall. " -- Charlie Stross
diff -Nru xpat2-1.07/debian/changelog xpat2-1.07/debian/changelog --- xpat2-1.07/debian/changelog 2016-11-02 10:32:41.000000000 +0000 +++ xpat2-1.07/debian/changelog 2024-04-18 21:21:46.000000000 +0000 @@ -1,3 +1,10 @@ +xpat2 (1.07-20+nmu1) unstable; urgency=medium + + * NMU + * Fix FTBFS for implicit declaration(s). Closes: #1066684 + + -- Steve McIntyre <93...@debian.org> Thu, 18 Apr 2024 22:21:46 +0100 + xpat2 (1.07-20) unstable; urgency=medium * maintainer address change diff -Nru xpat2-1.07/debian/patches/fix-implicit-declarations.diff xpat2-1.07/debian/patches/fix-implicit-declarations.diff --- xpat2-1.07/debian/patches/fix-implicit-declarations.diff 1970-01-01 00:00:00.000000000 +0000 +++ xpat2-1.07/debian/patches/fix-implicit-declarations.diff 2024-04-18 21:21:46.000000000 +0000 @@ -0,0 +1,11 @@ +--- xpat2-1.07.orig/src/loadsave.c ++++ xpat2-1.07/src/loadsave.c +@@ -26,6 +26,8 @@ + + #include <limits.h> + ++#define NO_CUSERID /* Disable, it's not there */ ++ + #ifndef _POSIX_NAME_MAX + # undef _POSIX_SOURCE /* seems that we have no POSIX system! */ + # define NAME_MAX 14 /* every UNIX should have at least this */ diff -Nru xpat2-1.07/debian/patches/series xpat2-1.07/debian/patches/series --- xpat2-1.07/debian/patches/series 2016-11-02 09:58:54.000000000 +0000 +++ xpat2-1.07/debian/patches/series 2024-04-18 21:21:46.000000000 +0000 @@ -4,3 +4,4 @@ localization-improvement icon-removal patch-loadsave.diff +fix-implicit-declarations.diff