summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-02-09 00:54:28 +0000
committerSam James <sam@gentoo.org>2023-02-09 00:57:17 +0000
commit882ac9b1db71efea7e03c41c12b21278c50461ea (patch)
treeb931bdec7c2e51716f2b37e608aa85545ca5d7bd /sys-apps/groff
parentapp-text/mdbook: add 0.4.26 (diff)
downloadgentoo-882ac9b1db71efea7e03c41c12b21278c50461ea.tar.gz
gentoo-882ac9b1db71efea7e03c41c12b21278c50461ea.tar.bz2
gentoo-882ac9b1db71efea7e03c41c12b21278c50461ea.zip
sys-apps/groff: skip broken test w/ diffutils-3.9
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/groff')
-rw-r--r--sys-apps/groff/groff-1.22.4.ebuild9
-rw-r--r--sys-apps/groff/groff-1.23.0_rc2.ebuild7
2 files changed, 15 insertions, 1 deletions
diff --git a/sys-apps/groff/groff-1.22.4.ebuild b/sys-apps/groff/groff-1.22.4.ebuild
index 958daba55415..81ac61ff2940 100644
--- a/sys-apps/groff/groff-1.22.4.ebuild
+++ b/sys-apps/groff/groff-1.22.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -56,6 +56,13 @@ src_prepare() {
.ds default-operating-system Gentoo${pfx}/${KERNEL}
EOF
+ # https://savannah.gnu.org/bugs/?63726
+ sed -i \
+ -e '/TESTS += contrib\/gdiffmk\/tests\/gdiffmk_tests.sh/d' \
+ -e '/\tcontrib\/gdiffmk\/tests\/gdiffmk_tests.sh \\/d' \
+ contrib/gdiffmk/tests/gdiffmk_tests.sh \
+ contrib/gdiffmk/gdiffmk.am || die
+
# make sure we don't get a crappy `g' nameprefix on UNIX systems with real
# troff (GROFF_G macro runs some test to see, its own troff doesn't satisfy)
sed -i -e 's/^[ \t]\+g=g$/g=/' configure || die
diff --git a/sys-apps/groff/groff-1.23.0_rc2.ebuild b/sys-apps/groff/groff-1.23.0_rc2.ebuild
index 0d90fdb18750..7571ab653986 100644
--- a/sys-apps/groff/groff-1.23.0_rc2.ebuild
+++ b/sys-apps/groff/groff-1.23.0_rc2.ebuild
@@ -61,6 +61,13 @@ src_prepare() {
.ds default-operating-system Gentoo${pfx}/${KERNEL}
EOF
+ # https://savannah.gnu.org/bugs/?63726
+ sed -i \
+ -e '/TESTS += contrib\/gdiffmk\/tests\/gdiffmk_tests.sh/d' \
+ -e '/\tcontrib\/gdiffmk\/tests\/gdiffmk_tests.sh \\/d' \
+ contrib/gdiffmk/tests/gdiffmk_tests.sh \
+ contrib/gdiffmk/gdiffmk.am || die
+
# make sure we don't get a crappy `g' nameprefix on UNIX systems with real
# troff (GROFF_G macro runs some test to see, its own troff doesn't satisfy)
sed -i -e 's/^[ \t]\+g=g$/g=/' configure || die