pkgsrc/textproc/texi2roff/patches/patch-aj
agc 70f43d63b9 Initial import of texi2roff-2.0 into the NetBSD packages collection.
Provided in PR 13059 by Ben Collver (collver@linuxfreemail.com)

Texi2roff is an unmaintained program program to convert Texinfo to troff.
Beverly Erlebacher wrote the program and made the last release in the late
1980's. William Bader produced a patch in 1996 adding numerous commands and
other functionality. Alain Knaff added a translation table to generate man
pages, and uses it to generate the manuals for mtools.  Ben Collver
integrated William Bader's and Alain Knaff's changes and made minor cleanups.
2001-05-30 11:45:41 +00:00

23 lines
543 B
Text

$NetBSD: patch-aj,v 1.1.1.1 2001/05/30 11:45:41 agc Exp $
--- texi2roff.c.orig Mon May 28 12:51:54 2001
+++ texi2roff.c Mon May 28 12:53:48 2001
@@ -70,6 +70,9 @@
case 'e':
macropkg = ME;
break;
+ case 'a':
+ macropkg = MANDOC;
+ break;
default:
errflg++;
break;
@@ -86,7 +89,7 @@
}
if (errflg) {
(void) fprintf(stderr,
- "Usage: %s [ -me -mm -ms ] [ -iIt ] [ file ... ]\n", progname);
+ "Usage: %s [ -me -mm -ms -mandoc ] [ -iIt ] [ file ... ]\n", progname);
exit(1);
}