From 7907cb020be0d16b59836987b44a870734d31d3a Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Mon, 1 Jun 2020 06:57:21 +0200 Subject: sys-apps/man: Fix for >=sys-apps/gawk-5, see https://bugs.gentoo.org/683494 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Väth --- sys-apps/man/files/man-1.6g-gawk-5.patch | 11 +++ sys-apps/man/man-1.6g-r1.ebuild | 152 ------------------------------ sys-apps/man/man-1.6g-r2.ebuild | 153 +++++++++++++++++++++++++++++++ 3 files changed, 164 insertions(+), 152 deletions(-) create mode 100644 sys-apps/man/files/man-1.6g-gawk-5.patch delete mode 100644 sys-apps/man/man-1.6g-r1.ebuild create mode 100644 sys-apps/man/man-1.6g-r2.ebuild diff --git a/sys-apps/man/files/man-1.6g-gawk-5.patch b/sys-apps/man/files/man-1.6g-gawk-5.patch new file mode 100644 index 00000000..b4f78008 --- /dev/null +++ b/sys-apps/man/files/man-1.6g-gawk-5.patch @@ -0,0 +1,11 @@ +--- 1/src/makewhatis.sh ++++ 1/src/makewhatis.sh +@@ -348,7 +348,7 @@ + sub(/^.Li /, ""); # Kill .Li + sub(/^.Dq /, ""); # Kill .Dq + sub(/^.Nd */, "- "); # Convert .Nd to dash +- sub(/\\\".*/, ""); # Trim pending comments ++ sub(/\\".*/, ""); # Trim pending comments + sub(/ *$/, ""); # Trim pending spaces + sub(/^\.$/, ""); # Kill blank comments + sub(/^'"'"'.*/, ""); # Kill comment/troff lines diff --git a/sys-apps/man/man-1.6g-r1.ebuild b/sys-apps/man/man-1.6g-r1.ebuild deleted file mode 100644 index ef5fe5e7..00000000 --- a/sys-apps/man/man-1.6g-r1.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2020 Martin V\"ath and Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit eutils prefix toolchain-funcs user - -DESCRIPTION="Standard commands to read man pages" -HOMEPAGE="http://primates.ximian.com/~flucifredi/man/" -SRC_URI="http://primates.ximian.com/~flucifredi/man/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd" -IUSE="cache +lzma nls selinux" - -DEPEND="nls? ( sys-devel/gettext )" -RDEPEND=">=sys-apps/groff-1.19.2-r1 - !sys-apps/man-db - !