* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/rcs/, dev-vcs/rcs/files/
@ 2021-10-29 12:16 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2021-10-29 12:16 UTC (permalink / raw
To: gentoo-commits
commit: 4281a2e29017daeddd1692866a9dcee01b11a67a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 12:12:48 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 12:16:47 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4281a2e2
dev-vcs/rcs: backport test fixes for 5.10.0
Note that these are purely test fixes, not changes
in the logic of the program (=> no need to revbump).
Bug: https://bugs.gentoo.org/820230
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-vcs/rcs/files/rcs-5.10.0-test-t632.patch | 30 ++++++++++++++++++++++++++
dev-vcs/rcs/files/rcs-5.10.0-test-t808.patch | 32 ++++++++++++++++++++++++++++
dev-vcs/rcs/rcs-5.10.0.ebuild | 2 ++
3 files changed, 64 insertions(+)
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
new file mode 100644
index 00000000000..ea86af8fd02
--- /dev/null
+++ b/dev-vcs/rcs/files/rcs-5.10.0-test-t632.patch
@@ -0,0 +1,30 @@
+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
new file mode 100644
index 00000000000..86ebab5f147
--- /dev/null
+++ b/dev-vcs/rcs/files/rcs-5.10.0-test-t808.patch
@@ -0,0 +1,32 @@
+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
index 4bd994b8b2e..02c0dfa721c 100644
--- a/dev-vcs/rcs/rcs-5.10.0.ebuild
+++ b/dev-vcs/rcs/rcs-5.10.0.ebuild
@@ -20,6 +20,8 @@ RDEPEND="
DEPEND="${RDEPEND}"
PATCHES=(
+ "${FILESDIR}"/${P}-test-t808.patch
+ "${FILESDIR}"/${P}-test-t632.patch
"${FILESDIR}"/${P}-glibc-2.34.patch
)
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/rcs/, dev-vcs/rcs/files/
@ 2021-10-29 12:16 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2021-10-29 12:16 UTC (permalink / raw
To: gentoo-commits
commit: 42fbb2f03e8fd683dbfe06719229ff3959dd9bc9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 12:16:04 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 12:16:48 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42fbb2f0
dev-vcs/rcs: backport t810 test fix for 5.9.4
Note that these are purely test fixes, not changes
in the logic of the program (=> no need to revbump).
Closes: https://bugs.gentoo.org/820230
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-vcs/rcs/files/rcs-5.9.4-test-t810.patch | 24 ++++++++++++++++++++++++
dev-vcs/rcs/rcs-5.9.4.ebuild | 4 +++-
2 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/dev-vcs/rcs/files/rcs-5.9.4-test-t810.patch b/dev-vcs/rcs/files/rcs-5.9.4-test-t810.patch
new file mode 100644
index 00000000000..568731e1903
--- /dev/null
+++ b/dev-vcs/rcs/files/rcs-5.9.4-test-t810.patch
@@ -0,0 +1,24 @@
+https://git.savannah.gnu.org/cgit/rcs.git/commit/?h=p&id=f2330a6268d244e97f47a97f4767736fc3b31455
+https://bugs.gentoo.org/820230
+
+From: Thien-Thi Nguyen <ttn@gnu.org>
+Date: Thu, 5 Apr 2018 16:20:35 +0200
+Subject: [v] Avoid "test FILE1 -nt FILE2".
+
+* tests/t810: Use "btdt mtimecmp" instead of "test -nt".
+Thanks to both sergio and Xose Vazquez Perez
+for indirectly signalling this problem. See 2018-04-05,
+"Add support for "btdt mtimecmp FILE1 FILE2"" for details.
+--- a/tests/t810
++++ b/tests/t810
+@@ -27,7 +27,8 @@ split_std_out_err no
+
+ must 'echo new line >> $w'
+ must 'ci -mm -l -d -T $w'
+-test $w -nt $v && problem "$w newer than $v"
++test 1 = `./btdt mtimecmp $w $v` \
++ && problem "$w newer than $v"
+
+ exit 0
+
+cgit v1.2.1
diff --git a/dev-vcs/rcs/rcs-5.9.4.ebuild b/dev-vcs/rcs/rcs-5.9.4.ebuild
index b5cd9539963..ee7d184c6b6 100644
--- a/dev-vcs/rcs/rcs-5.9.4.ebuild
+++ b/dev-vcs/rcs/rcs-5.9.4.ebuild
@@ -3,7 +3,7 @@
EAPI="5"
-inherit flag-o-matic
+inherit epatch flag-o-matic
DESCRIPTION="Revision Control System"
HOMEPAGE="https://www.gnu.org/software/rcs/"
@@ -20,6 +20,8 @@ RDEPEND="
DEPEND="${RDEPEND}"
src_prepare() {
+ epatch "${FILESDIR}"/${P}-test-t810.patch
+
sed -i -e '/gets is a security hole/d' \
lib/stdio.in.h || die
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/rcs/, dev-vcs/rcs/files/
@ 2022-01-29 3:56 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2022-01-29 3:56 UTC (permalink / raw
To: gentoo-commits
commit: f883293d2cd98ac23ea6b06f2a48172484a33c67
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 29 01:26:48 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 29 03:56:05 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f883293d
dev-vcs/rcs: drop 5.9.3, 5.9.4
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-vcs/rcs/Manifest | 2 --
dev-vcs/rcs/files/rcs-5.9.4-test-t810.patch | 24 --------------
dev-vcs/rcs/rcs-5.9.3.ebuild | 47 ---------------------------
dev-vcs/rcs/rcs-5.9.4.ebuild | 49 -----------------------------
4 files changed, 122 deletions(-)
diff --git a/dev-vcs/rcs/Manifest b/dev-vcs/rcs/Manifest
index 34695ca2a700..da8459ef7e57 100644
--- a/dev-vcs/rcs/Manifest
+++ b/dev-vcs/rcs/Manifest
@@ -1,3 +1 @@
DIST rcs-5.10.0.tar.xz 890872 BLAKE2B 32000df00c639cec90fb9128503b67957a23c82a08651953b57434c3f14ecea555155da933d5be801ad216aa27ccf496a7aae325cecf73f9bc121f3a3c659cba SHA512 d42bded1214f27dfcbe912bbabad8479555a02bc57000a62512d63ff0672de1ed23911cd15c9d1aa4b9a53794ac3fd45937fa1cbc0fcb9d54a3ede4d831f76d0
-DIST rcs-5.9.3.tar.xz 800736 BLAKE2B aa3f17555e5b65a9d65dfa781f2e12496e282128d9412529f67a831b5d6035302a6f70c4fe0b9d9519a2bf02fc5a98d03f4aa3b86696fd27874bfa7549e8c8a3 SHA512 99b124a94f285d8c675a2a51397ca4a97468f053d42aecf543e9266f16aea6b2667613f565c3462ffd2350c28e22baa4d01d598e2cc7e1e940625086f6de0ba6
-DIST rcs-5.9.4.tar.xz 801360 BLAKE2B 18cb97aae7a70f9f12b1018d6b6b42fbc06dd96b491caa7ee5ae2a4a746339e22ffc93ead5756add62f8a08d5cd1ec589c242f0a75e9d78aff29b95114869b25 SHA512 c501a46b8d2e166ec0b54301d72687d9b38b31d84517fcc8dd560a296e7ad250962a92f019e53b2921af9045755e2e7f2f2acc9542dbe0d19ee110ef36861cd4
diff --git a/dev-vcs/rcs/files/rcs-5.9.4-test-t810.patch b/dev-vcs/rcs/files/rcs-5.9.4-test-t810.patch
deleted file mode 100644
index 568731e1903f..000000000000
--- a/dev-vcs/rcs/files/rcs-5.9.4-test-t810.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-https://git.savannah.gnu.org/cgit/rcs.git/commit/?h=p&id=f2330a6268d244e97f47a97f4767736fc3b31455
-https://bugs.gentoo.org/820230
-
-From: Thien-Thi Nguyen <ttn@gnu.org>
-Date: Thu, 5 Apr 2018 16:20:35 +0200
-Subject: [v] Avoid "test FILE1 -nt FILE2".
-
-* tests/t810: Use "btdt mtimecmp" instead of "test -nt".
-Thanks to both sergio and Xose Vazquez Perez
-for indirectly signalling this problem. See 2018-04-05,
-"Add support for "btdt mtimecmp FILE1 FILE2"" for details.
---- a/tests/t810
-+++ b/tests/t810
-@@ -27,7 +27,8 @@ split_std_out_err no
-
- must 'echo new line >> $w'
- must 'ci -mm -l -d -T $w'
--test $w -nt $v && problem "$w newer than $v"
-+test 1 = `./btdt mtimecmp $w $v` \
-+ && problem "$w newer than $v"
-
- exit 0
-
-cgit v1.2.1
diff --git a/dev-vcs/rcs/rcs-5.9.3.ebuild b/dev-vcs/rcs/rcs-5.9.3.ebuild
deleted file mode 100644
index 3b42b11ff880..000000000000
--- a/dev-vcs/rcs/rcs-5.9.3.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-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}"
-
-src_prepare() {
- sed -i -e '/gets is a security hole/d' \
- lib/stdio.in.h || die
-}
-
-src_configure() {
- append-flags -std=gnu99
- econf
-}
-
-src_test() {
- emake check
-}
-
-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
-}
diff --git a/dev-vcs/rcs/rcs-5.9.4.ebuild b/dev-vcs/rcs/rcs-5.9.4.ebuild
deleted file mode 100644
index e00c34d58f3f..000000000000
--- a/dev-vcs/rcs/rcs-5.9.4.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit epatch 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}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-test-t810.patch
-
- sed -i -e '/gets is a security hole/d' \
- lib/stdio.in.h || die
-}
-
-src_configure() {
- append-flags -std=gnu99
- econf
-}
-
-src_test() {
- emake check
-}
-
-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
-}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-vcs/rcs/, dev-vcs/rcs/files/
@ 2024-11-11 0:57 Andreas K. Hüttel
0 siblings, 0 replies; 4+ messages in thread
From: Andreas K. Hüttel @ 2024-11-11 0:57 UTC (permalink / raw
To: gentoo-commits
commit: 4d0bd0ad1d41df4768c95cedbc45f31d2d99bc52
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 11 00:51:13 2024 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Nov 11 00:56:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d0bd0ad
dev-vcs/rcs: "fix" incompatible function pointer assignment
Interestingly, the patch seems to be only needed on clang.
It's not so much about casting to function pointer but about
adding the correct attribute...
Closes: https://bugs.gentoo.org/880907
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
dev-vcs/rcs/files/rcs-5.10.1-pointerfun.patch | 12 ++++++++++++
dev-vcs/rcs/rcs-5.10.1-r1.ebuild | 3 ++-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/dev-vcs/rcs/files/rcs-5.10.1-pointerfun.patch b/dev-vcs/rcs/files/rcs-5.10.1-pointerfun.patch
new file mode 100644
index 000000000000..7d6894db2a01
--- /dev/null
+++ b/dev-vcs/rcs/files/rcs-5.10.1-pointerfun.patch
@@ -0,0 +1,12 @@
+diff '--color=auto' -ruN rcs-5.10.1.orig/src/b-divvy.c rcs-5.10.1/src/b-divvy.c
+--- rcs-5.10.1.orig/src/b-divvy.c 2022-01-27 03:13:37.000000000 +0100
++++ rcs-5.10.1/src/b-divvy.c 2024-11-11 01:25:31.633541338 +0100
+@@ -40,7 +40,7 @@
+ struct divvy *divvy = TMALLOC (struct divvy);
+
+ divvy->name = name;
+- obstack_alloc_failed_handler = xalloc_die;
++ obstack_alloc_failed_handler = (__attribute_noreturn__ void (*)(void))xalloc_die;
+ obstack_init (&divvy->space);
+
+ /* Set alignment to avoid segfault (on some hosts).
diff --git a/dev-vcs/rcs/rcs-5.10.1-r1.ebuild b/dev-vcs/rcs/rcs-5.10.1-r1.ebuild
index fe2b78e27c2d..ef13e0a3dd38 100644
--- a/dev-vcs/rcs/rcs-5.10.1-r1.ebuild
+++ b/dev-vcs/rcs/rcs-5.10.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -21,6 +21,7 @@ BDEPEND="$(unpacker_src_uri_depends)"
PATCHES=(
"${FILESDIR}"/${PN}-5.10.1-configure-clang16.patch
+ "${FILESDIR}"/${PN}-5.10.1-pointerfun.patch
)
src_prepare() {
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-11-11 0:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-11 0:57 [gentoo-commits] repo/gentoo:master commit in: dev-vcs/rcs/, dev-vcs/rcs/files/ Andreas K. Hüttel
-- strict thread matches above, loose matches on Subject: below --
2022-01-29 3:56 Sam James
2021-10-29 12:16 Sam James
2021-10-29 12:16 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox