commit:     0a39c6c2555aebbe9e8574f3595e5af89701e12b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 20 06:28:03 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 20 06:28:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a39c6c2

sys-apps/diffutils: avoid help2man

It tries to regenerate the man page because of the diff patch.

Closes: https://bugs.gentoo.org/895500
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/diffutils/diffutils-3.9-r1.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sys-apps/diffutils/diffutils-3.9-r1.ebuild 
b/sys-apps/diffutils/diffutils-3.9-r1.ebuild
index b33f99dcdb75..7aebfc8cbfa7 100644
--- a/sys-apps/diffutils/diffutils-3.9-r1.ebuild
+++ b/sys-apps/diffutils/diffutils-3.9-r1.ebuild
@@ -37,6 +37,13 @@ PATCHES=(
        "${FILESDIR}"/${P}-diff-D-option-regression.patch
 )
 
+src_prepare() {
+       default
+
+       # Needed because of ${P}-diff-D-option-regression.patch
+       touch man/diff.1 || die
+}
+
 src_configure() {
        use static && append-ldflags -static
 

Reply via email to