Accepting request 840398 from M17N

- Add patch xemacs-21.5.34-strsignal.patch as sys_siglist is deprecated 

- Update xemacs.spec: change source URL since the old is deprecated
  Make xemacs can build successfuly.

OBS-URL: https://build.opensuse.org/request/show/840398
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xemacs?expand=0&rev=93
This commit is contained in:
Dominique Leuenberger 2020-10-09 22:28:04 +00:00 committed by Git OBS Bridge
commit bc2b4a0be3
4 changed files with 32 additions and 3 deletions

View File

@ -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");
}

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6d15dc4bb5ac8f74208a7575cf2d89656b5c3bf539c1014d30c01e7a9775b0ad
size 15816499
oid sha256:33cc54a6a9a45224a64b6c57c8138b5a5f0f1be368951a6d9ec8c0aec5993ee5
size 15816932

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Oct 9 07:57:26 UTC 2020 - Dr. Werner Fink <werner@suse.de>
- Add patch xemacs-21.5.34-strsignal.patch as sys_siglist is deprecated
-------------------------------------------------------------------
Tue Sep 29 11:13:40 UTC 2020 - Cliff Zhao <qzhao@suse.com>
- 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 <werner@suse.de>

View File

@ -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