!7 Update to 5.10.1

From: @wu-leilei 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
This commit is contained in:
openeuler-ci-bot 2023-10-27 07:10:27 +00:00 committed by Gitee
commit 0cf5ee731c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
5 changed files with 8 additions and 51 deletions

View File

@ -1,33 +0,0 @@
diff --git a/src/b-isr.c b/src/b-isr.c
index 52c3a6f..d839631 100644
--- a/src/b-isr.c
+++ b/src/b-isr.c
@@ -195,22 +195,16 @@ setup_catchsig (size_t count, int const set[VLA_ELEMS (count)])
#undef MUST
}
-#if defined HAVE_SIGALTSTACK && defined SIGSTKSZ
-#define ISR_STACK_SIZE (10 * SIGSTKSZ)
-#else
-#define ISR_STACK_SIZE 0
-#endif
-
struct isr_scratch *
isr_init (bool *be_quiet)
{
struct isr_scratch *scratch = ZLLOC (1, struct isr_scratch);
-#if ISR_STACK_SIZE
+#if defined HAVE_SIGALTSTACK && defined SIGSTKSZ
stack_t ss =
{
- .ss_sp = alloc (PLEXUS, "sigaltstack", ISR_STACK_SIZE),
- .ss_size = ISR_STACK_SIZE,
+ .ss_sp = alloc (PLEXUS, "sigaltstack", (10 * SIGSTKSZ)),
+ .ss_size = (10 * SIGSTKSZ),
.ss_flags = 0
};
--
1.8.3.1

BIN
rcs-5.10.1.tar.lz Normal file

Binary file not shown.

View File

@ -1,11 +0,0 @@
diff -up rcs-5.9.4/tests/known-failures.in.t810_disable rcs-5.9.4/tests/known-failures.in
--- rcs-5.9.4/tests/known-failures.in.t810_disable 2018-03-27 14:48:15.344270665 +0200
+++ rcs-5.9.4/tests/known-failures.in 2018-03-27 14:48:55.305831852 +0200
@@ -134,6 +134,7 @@ exit 0
;; t805 under OSX (see "bletcherous hack" above)
* 5.9.4
+ t810 ; ci -l -d -T => RCS file mtime set to epoch
* end matter
*** Local variables:

Binary file not shown.

View File

@ -1,16 +1,14 @@
Summary: Revision Control System (RCS) file version management tools
Name: rcs
Version: 5.9.4
Release: 13
Version: 5.10.1
Release: 1
License: GPLv3+
URL: http://www.gnu.org/software/rcs/
Source: ftp://ftp.gnu.org/gnu/rcs/%{name}-%{version}.tar.xz
Source: https://ftp.gnu.org/gnu/rcs/rcs-%{version}.tar.lz
Patch0: rcs-5.8-build-tweaks.patch
Patch1: rcs-5.9.4-t810_disable.patch
Patch6000: backport-rcs-5.9.4-SIGSTKSZ.patch
Provides: bundled(gnulib)
BuildRequires: gcc autoconf groff ghostscript ed texinfo
BuildRequires: gcc autoconf groff ghostscript ed texinfo lzip
Requires: diffutils
Requires(post): /sbin/install-info
Requires(postun): /sbin/install-info
@ -39,7 +37,7 @@ CFLAGS="${RPM_OPT_FLAGS} -std=c99"
%make_build
%install
%make_install
%make_install DESTDIR=$RPM_BUILD_ROOT
install -m 755 src/rcsfreeze $RPM_BUILD_ROOT%{_bindir}
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
@ -63,6 +61,9 @@ fi
%{_mandir}/man[15]/*
%changelog
* Wed Oct 18 2023 wulei <wu_lei@hoperun.com> - 5.10.1-1
- Update to 5.10.1
* Tue Aug 10 2021 shixuantong <shixuantong@huawei.com> - 5.9.4-13
- fix build fail for SIGSTKSZ