From 5ce1eea7d5e1bd145d2f0bc8f192dba78383be6e Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 25 Feb 2003 10:17:11 +0000 Subject: Make ``.Nm ""'' work. Patch from Christian Limpach (chris at pin lu) on tech-userlevel. PKGREVISION -> 1. --- textproc/groff/Makefile | 3 ++- textproc/groff/distinfo | 3 ++- textproc/groff/patches/patch-ac | 22 ++++++++++++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 textproc/groff/patches/patch-ac (limited to 'textproc') diff --git a/textproc/groff/Makefile b/textproc/groff/Makefile index 69c21867fe2..3c18a0e8444 100644 --- a/textproc/groff/Makefile +++ b/textproc/groff/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.5 2003/01/05 01:07:57 salo Exp $ +# $NetBSD: Makefile,v 1.6 2003/02/25 10:17:11 wiz Exp $ # DISTNAME= groff-1.18.1 +PKGREVISION= 1 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GNU:=groff/} diff --git a/textproc/groff/distinfo b/textproc/groff/distinfo index bd2eb2b7356..062a54d5050 100644 --- a/textproc/groff/distinfo +++ b/textproc/groff/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2003/01/04 11:20:13 wiz Exp $ +$NetBSD: distinfo,v 1.3 2003/02/25 10:17:11 wiz Exp $ SHA1 (groff-1.18.1.tar.gz) = 109be928c3b078d1941c0e3f9c03b6de9b7e9b54 Size (groff-1.18.1.tar.gz) = 2250463 bytes SHA1 (patch-aa) = bd1c45fe22612af86a9da54582afbfdf1d6737a9 SHA1 (patch-ab) = a968aafab2bb24ea947d45b215abe3cfb624a074 +SHA1 (patch-ac) = 0bf974a050a762172cb3b43edd55159fe22c955d diff --git a/textproc/groff/patches/patch-ac b/textproc/groff/patches/patch-ac new file mode 100644 index 00000000000..94368d66047 --- /dev/null +++ b/textproc/groff/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.1 2003/02/25 10:17:12 wiz Exp $ + +--- tmac/doc.tmac.orig Fri Jul 5 16:37:21 2002 ++++ tmac/doc.tmac +@@ -906,8 +906,16 @@ + .de Nm + . if !\n[doc-arg-limit] \{\ + . ds doc-macro-name Nm +-. ie \n[.$] \ ++. ie \n[.$] \{\ + . doc-parse-args \$@ ++. nr doc-arg-ptr +1 ++. if "\*[doc-arg\n[doc-arg-ptr]]"" \ ++. ie "\*[doc-command-name]"" \ ++. tm Usage: .Nm name ... (#\n[.c]) ++. el \ ++. ds doc-arg\n[doc-arg-ptr] \*[doc-command-name] ++. nr doc-arg-ptr -1 ++. \} + . el \{\ + . ie "\*[doc-command-name]"" \ + . tm Usage: .Nm name ... (#\n[.c]) -- cgit v1.2.3