diff -pruN 21.4.24-9/debian/changelog 21.4.24-10/debian/changelog
--- 21.4.24-9/debian/changelog	2020-02-24 23:09:41.000000000 +0000
+++ 21.4.24-10/debian/changelog	2022-03-18 02:30:04.000000000 +0000
@@ -1,3 +1,10 @@
+xemacs21 (21.4.24-10) unstable; urgency=low
+
+  * Use strsignal() instead of sys_siglist (closes: #1005992).
+  * debhelper 13 (dh_prep).
+
+ -- Mark Brown <broonie@debian.org>  Fri, 18 Mar 2022 02:30:04 +0000
+
 xemacs21 (21.4.24-9) unstable; urgency=low
 
   * Fix corruption in ldap.texi (closes: #952371).
diff -pruN 21.4.24-9/debian/compat 21.4.24-10/debian/compat
--- 21.4.24-9/debian/compat	2018-08-26 13:36:38.000000000 +0000
+++ 21.4.24-10/debian/compat	2022-03-18 02:30:04.000000000 +0000
@@ -1 +1 @@
-9
+13
diff -pruN 21.4.24-9/debian/control 21.4.24-10/debian/control
--- 21.4.24-9/debian/control	2020-02-24 23:09:41.000000000 +0000
+++ 21.4.24-10/debian/control	2022-03-18 02:30:04.000000000 +0000
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Mark Brown <broonie@debian.org>
 Standards-Version: 4.5.0
 Homepage: http://www.xemacs.org/
-Build-Depends: autotools-dev, texinfo, libcanna1g-dev, libwnn6-dev, libjpeg-dev, libncurses5-dev, libpng-dev, libtiff5-dev, zlib1g-dev, texi2html, debhelper (>> 5.0.0), libldap2-dev, libdb-dev, libpam0g-dev, libcompfaceg1-dev, libx11-dev, libxau-dev, libxext-dev, libxmu-dev, libxpm-dev, libxt-dev, xbitmaps, xcursor-themes, libxaw7-dev, autoconf2.13, libgpm-dev [linux-any]
+Build-Depends: autotools-dev, texinfo, libcanna1g-dev, libwnn6-dev, libjpeg-dev, libncurses5-dev, libpng-dev, libtiff5-dev, zlib1g-dev, texi2html, debhelper (>> 13.0.0), libldap2-dev, libdb-dev, libpam0g-dev, libcompfaceg1-dev, libx11-dev, libxau-dev, libxext-dev, libxmu-dev, libxpm-dev, libxt-dev, xbitmaps, xcursor-themes, libxaw7-dev, autoconf2.13, libgpm-dev [linux-any]
 
 Package: xemacs21
 Architecture: all
diff -pruN 21.4.24-9/debian/patches/series 21.4.24-10/debian/patches/series
--- 21.4.24-9/debian/patches/series	2020-02-24 23:09:41.000000000 +0000
+++ 21.4.24-10/debian/patches/series	2022-03-18 02:30:04.000000000 +0000
@@ -5,3 +5,4 @@ emacsen-common
 fix-hppa-build.patch
 ldap
 document-encoding
+sys_siglist
diff -pruN 21.4.24-9/debian/patches/sys_siglist 21.4.24-10/debian/patches/sys_siglist
--- 21.4.24-9/debian/patches/sys_siglist	1970-01-01 00:00:00.000000000 +0000
+++ 21.4.24-10/debian/patches/sys_siglist	2022-03-18 02:30:04.000000000 +0000
@@ -0,0 +1,21 @@
+Description: Replace sys_siglist[] with strsignal()
+
+Removed from glibc headers so unusable by new builds.
+
+Author: Mark Brown <broonie@debian.org>
+Bug-Debian: https://bugs.debian.org/1005992
+Last-Update: 2022-03-18
+
+Index: xemacs21-21.4.24/src/process.c
+===================================================================
+--- xemacs21-21.4.24.orig/src/process.c
++++ xemacs21-21.4.24/src/process.c
+@@ -1311,7 +1311,7 @@ const char *
+ signal_name (int signum)
+ {
+   if (signum >= 0 && signum < NSIG)
+-    return (const char *) sys_siglist[signum];
++    return (const char *) strsignal(signum);
+ 
+   return (const char *) GETTEXT ("unknown signal");
+ }
diff -pruN 21.4.24-9/debian/rules 21.4.24-10/debian/rules
--- 21.4.24-9/debian/rules	2016-04-25 17:57:08.000000000 +0000
+++ 21.4.24-10/debian/rules	2022-03-18 02:30:04.000000000 +0000
@@ -87,7 +87,7 @@ install: install-stamp
 install-stamp: build
 	dh_testdir
 	dh_testroot
-	dh_clean -k
+	dh_prep
 	${MAKE} -f debian/PackagesMakefile installit
 
 	touch install-stamp
