diff options
-rw-r--r-- | dev-vcs/rcs/Manifest | 1 | ||||
-rw-r--r-- | dev-vcs/rcs/files/rcs-5.10.0-glibc-2.34.patch | 44 | ||||
-rw-r--r-- | dev-vcs/rcs/files/rcs-5.10.0-test-t632.patch | 30 | ||||
-rw-r--r-- | dev-vcs/rcs/files/rcs-5.10.0-test-t808.patch | 32 | ||||
-rw-r--r-- | dev-vcs/rcs/rcs-5.10.0.ebuild | 59 |
5 files changed, 0 insertions, 166 deletions
diff --git a/dev-vcs/rcs/Manifest b/dev-vcs/rcs/Manifest index 9d7be564c5e0..5ecab5a7596d 100644 --- a/dev-vcs/rcs/Manifest +++ b/dev-vcs/rcs/Manifest @@ -1,2 +1 @@ -DIST rcs-5.10.0.tar.xz 890872 BLAKE2B 32000df00c639cec90fb9128503b67957a23c82a08651953b57434c3f14ecea555155da933d5be801ad216aa27ccf496a7aae325cecf73f9bc121f3a3c659cba SHA512 d42bded1214f27dfcbe912bbabad8479555a02bc57000a62512d63ff0672de1ed23911cd15c9d1aa4b9a53794ac3fd45937fa1cbc0fcb9d54a3ede4d831f76d0 DIST rcs-5.10.1.tar.lz 917331 BLAKE2B bf439b2bbb6d5d427f28b13d739f2a5902aa3113e958528028ff553007ad124a8c386141e10ff2d0157468d893e1da4a19240acb373a3f375aa21d97c187a4dd SHA512 4d3755d704a05da8582acb78a83845885f34b3144af6d19c568e6707831563b077ec5603a12f5d4de6ec583d0886d3a8ccc7ee0e1f10070f9e6de142198cd530 diff --git a/dev-vcs/rcs/files/rcs-5.10.0-glibc-2.34.patch b/dev-vcs/rcs/files/rcs-5.10.0-glibc-2.34.patch deleted file mode 100644 index 5ee636bc522a..000000000000 --- a/dev-vcs/rcs/files/rcs-5.10.0-glibc-2.34.patch +++ /dev/null @@ -1,44 +0,0 @@ -https://git.savannah.gnu.org/cgit/rcs.git/commit/?h=p&id=10fb2a018f320ff3c1615baa5af491410d9f8d09 -https://bugs.gentoo.org/806356 - -From: Paul Eggert <eggert@cs.ucla.edu> -Date: Mon, 5 Apr 2021 10:13:49 -0700 -Subject: =?UTF-8?q?Don=E2=80=99t=20use=20SIGSTKSZ=20in=20#if?= -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Problem reported by Christoph Karl in: -https://lists.gnu.org/r/bug-rcs/2021-04/msg00000.html -* b-isr.c (ISR_STACK_SIZE): Remove. -(isr_init): Don’t assume SIGSTKSZ is a preprocessor constant. ---- a/src/b-isr.c -+++ b/src/b-isr.c -@@ -198,22 +198,17 @@ 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 -+ size_t stack_size = 10 * SIGSTKSZ; - stack_t ss = - { -- .ss_sp = alloc (PLEXUS, ISR_STACK_SIZE), -- .ss_size = ISR_STACK_SIZE, -+ .ss_sp = alloc (PLEXUS, stack_size), -+ .ss_size = stack_size, - .ss_flags = 0 - }; - -cgit v1.2.1 diff --git a/dev-vcs/rcs/files/rcs-5.10.0-test-t632.patch b/dev-vcs/rcs/files/rcs-5.10.0-test-t632.patch deleted file mode 100644 index ea86af8fd022..000000000000 --- a/dev-vcs/rcs/files/rcs-5.10.0-test-t632.patch +++ /dev/null @@ -1,30 +0,0 @@ -https://git.savannah.gnu.org/cgit/rcs.git/commit/?h=p&id=8883c4f5a29be18e9ea09bd27a7b660830de45bb -https://bugs.gentoo.org/820230 - -From: Thien-Thi Nguyen <ttn@gnu.org> -Date: Fri, 23 Oct 2020 09:23:49 -0400 -Subject: [v] Don't test signal handling if stdin not ok. - -<https://mail.gnu.org/archive/html/bug-rcs/2020-10/msg00014.html> - -* tests/t632: If stdin is not open and connected to -a tty, skip the signal handling portion of the test. ---- a/tests/t632 -+++ b/tests/t632 -@@ -40,6 +40,15 @@ echo | co -l -I $w \ - # (This is skipped if GNU coreutils timeout(1) is not available.) - ## - -+# <https://mail.gnu.org/archive/html/bug-rcs/2020-10/msg00014.html> -+# The timeout test needs co(1) to block on input. -+# If stdin is not open and connected to a tty, skip out. -+if test -t 0 ; then -+ echo STDIN OK -+else -+ exit 0 -+fi -+ - # TODO: Don't be lame! Pick one: - # (a) Mimic timeout(1) w/ sh commands. - # (b) Incorporate heart of timeout(1) into ./btdt and use that. -cgit v1.2.1 diff --git a/dev-vcs/rcs/files/rcs-5.10.0-test-t808.patch b/dev-vcs/rcs/files/rcs-5.10.0-test-t808.patch deleted file mode 100644 index 86ebab5f1475..000000000000 --- a/dev-vcs/rcs/files/rcs-5.10.0-test-t808.patch +++ /dev/null @@ -1,32 +0,0 @@ -https://git.savannah.gnu.org/cgit/rcs.git/commit/?h=p&id=5df4567e69fc7f46d14cfbf396525c3d05bcf970 -https://bugs.gentoo.org/820230 - -From: Thien-Thi Nguyen <ttn@gnu.org> -Date: Sat, 24 Oct 2020 19:14:26 -0400 -Subject: [v] Try to handle whoami(1) returning no info. -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -* tests/t808 (user): If whoami(1) returns no info, no longer error out. -Instead, jam a value, and set env vars ‘LOGNAME’ and ‘USER’, as well. ---- a/tests/t808 -+++ b/tests/t808 -@@ -24,8 +24,14 @@ rerr=$wd/rerr - - user=`whoami` - --test "$user" \ -- || problem 'far out, man ... whoami failed!' -+if ! test "$user" ; then -+ : 'far out, man ... whoami failed!' -+ user=jrluser -+ USER=$user -+ export USER -+ LOGNAME=$user -+ export LOGNAME -+fi - - must 'sed -e s/ttn/trulynobody/g \ - -e s/zurg/$user/g \ -cgit v1.2.1 diff --git a/dev-vcs/rcs/rcs-5.10.0.ebuild b/dev-vcs/rcs/rcs-5.10.0.ebuild deleted file mode 100644 index 7a3d453f1e0d..000000000000 --- a/dev-vcs/rcs/rcs-5.10.0.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic - -DESCRIPTION="Revision Control System" -HOMEPAGE="https://www.gnu.org/software/rcs/" -SRC_URI="mirror://gnu/rcs/${P}.tar.xz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris" -IUSE="doc" - -RDEPEND=" - sys-apps/diffutils - sys-apps/ed" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${P}-test-t808.patch - "${FILESDIR}"/${P}-test-t632.patch - "${FILESDIR}"/${P}-glibc-2.34.patch -) - -src_prepare() { - default - - sed -i -e '/gets is a security hole/d' \ - lib/stdio.in.h || die -} - -src_configure() { - append-flags -std=gnu99 - econf -} - -src_test() { - # Tests attempt to call rcs commands on /dev/null and /tmp. - # https://bugs.gentoo.org/840173 - local -x SANDBOX_PREDICT=${SANDBOX_PREDICT} - addpredict / - default -} - -src_install() { - emake DESTDIR="${D}" install - - dodoc ChangeLog NEWS README - - if use doc; then - emake -C doc html - rm -R "${ED}/usr/share/doc/rcs" - mv doc/rcs.html doc/html - dodoc -r doc/html/ - fi -} |