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-21.5.34.tar.gz b/xemacs-21.5.34.tar.gz index c9653bd..a56387a 100644 --- a/xemacs-21.5.34.tar.gz +++ b/xemacs-21.5.34.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6d15dc4bb5ac8f74208a7575cf2d89656b5c3bf539c1014d30c01e7a9775b0ad -size 15816499 +oid sha256:33cc54a6a9a45224a64b6c57c8138b5a5f0f1be368951a6d9ec8c0aec5993ee5 +size 15816932 diff --git a/xemacs.changes b/xemacs.changes index 360f655..db94890 100644 --- a/xemacs.changes +++ b/xemacs.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +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 + +- Update xemacs.spec: change source URL since the old is deprecated + Make xemacs can build successfuly. + ------------------------------------------------------------------- Mon Aug 17 06:40:55 UTC 2020 - Dr. Werner Fink diff --git a/xemacs.spec b/xemacs.spec index f51fe69..89f5d7a 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -71,7 +71,7 @@ URL: http://www.xemacs.org # # delete the .hg directory before creating the tarball in order # not to make the source rpm huge. -Source0: http://ftp.freenet.de/pub/ftp.xemacs.org/tux/xemacs/xemacs-21.5/%{name}-%{version}.tar.gz +Source0: http://ftp.xemacs.org/pub/xemacs/xemacs-21.5/%{name}-%{version}.tar.gz Source1: xe-list.el Source2: fix-load-history.el Source3: xemacs.desktop @@ -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