diff --git a/xemacs-21.5.34-strsignal.patch b/xemacs-21.5.34-strsignal.patch new file mode 100644 index 0000000..9a6cf4e --- /dev/null +++ b/xemacs-21.5.34-strsignal.patch @@ -0,0 +1,15 @@ +--- + src/process.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- src/process.c ++++ src/process.c 2020-10-09 07:55:43.086125891 +0000 +@@ -1569,7 +1569,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 --git a/xemacs.changes b/xemacs.changes index 72f193a..db94890 100644 --- a/xemacs.changes +++ b/xemacs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Oct 9 07:57:26 UTC 2020 - Dr. Werner Fink + +- Add patch xemacs-21.5.34-strsignal.patch as sys_siglist is deprecated + ------------------------------------------------------------------- Tue Sep 29 11:13:40 UTC 2020 - Cliff Zhao diff --git a/xemacs.spec b/xemacs.spec index aed8e98..89f5d7a 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -112,6 +112,8 @@ Patch60: xemacs-21.5.34-sbrk.patch # PATCH-FIX-SUSE fix make build race Patch61: xemacs-21.5.34-boo1115177.patch Patch62: xemacs-libX11-boo1175028.patch +# PATCH-FIX-SUSE sys_siglist is deprecated +Patch63: xemacs-21.5.34-strsignal.patch Requires(pre): permissions Requires: ctags Requires: efont-unicode @@ -207,6 +209,7 @@ echo Use xfs, that is XFontSet support for internationalized menubar. %patch60 -p0 %patch61 -p0 %patch62 -p0 +%patch63 -p0 %patch0 -p1 find lisp/ etc/ -name '*.elc' | xargs -r rm -f find . -name CVS -type d | xargs rm -rf