summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/man/files/man-1.6g-gawk-5.patch11
-rw-r--r--sys-apps/man/man-1.6g-r2.ebuild (renamed from sys-apps/man/man-1.6g-r1.ebuild)1
2 files changed, 12 insertions, 0 deletions
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-r2.ebuild
index ef5fe5e7..adb098d2 100644
--- a/sys-apps/man/man-1.6g-r1.ebuild
+++ b/sys-apps/man/man-1.6g-r2.ebuild
@@ -40,6 +40,7 @@ src_prepare() {
eapply "${FILESDIR}"/man-1.6g-xz.patch #302380
eapply "${FILESDIR}"/man-1.6f-makewhatis-compression-cleanup.patch #331979
eapply "${FILESDIR}"/man-1.6g-echo-escape.patch #523874
+ eapply "${FILESDIR}"/man-1.6g-gawk-5.patch #683494
# make sure `less` handles escape sequences #287183
sed -i -e '/^DEFAULTLESSOPT=/s:"$:R":' configure
default