summaryrefslogtreecommitdiff
path: root/textproc/texi2roff/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/texi2roff/patches/patch-ai')
-rw-r--r--textproc/texi2roff/patches/patch-ai25
1 files changed, 16 insertions, 9 deletions
diff --git a/textproc/texi2roff/patches/patch-ai b/textproc/texi2roff/patches/patch-ai
index f11637538cc..359fbcf6fe0 100644
--- a/textproc/texi2roff/patches/patch-ai
+++ b/textproc/texi2roff/patches/patch-ai
@@ -1,7 +1,7 @@
-$NetBSD: patch-ai,v 1.1.1.1 2001/05/30 11:45:41 agc Exp $
+$NetBSD: patch-ai,v 1.2 2006/03/21 16:45:25 yyamano Exp $
---- table.c.orig Mon May 28 12:22:42 2001
-+++ table.c Mon May 28 13:02:59 2001
+--- table.c.orig 1992-02-21 03:16:37.000000000 +0900
++++ table.c
@@ -25,6 +25,7 @@
#include "tablems.h"
#include "tableme.h"
@@ -10,24 +10,31 @@ $NetBSD: patch-ai,v 1.1.1.1 2001/05/30 11:45:41 agc Exp $
char indexmacro[] = ".de iX \n.tm \\\\$1 \\\\n%\n..\n";
char trquotes[] = ".tr \\(is'\n.tr \\(if`\n.tr \\(pd\"\n";
-@@ -38,7 +39,7 @@
+@@ -32,13 +33,14 @@ char trquotes[] = ".tr \\(is'\n.tr \\(if
+ struct misccmds * cmds;
+ struct tablerecd * table, * endoftable;
+
++static void patchtable();
++
+ void
+ initialize(macropkg, showInfo, makeindex)
+ int macropkg;
int showInfo;
int makeindex;
{
- extern void patchtable();
-+ static void patchtable();
int tablesize;
switch (macropkg) {
-@@ -56,6 +57,11 @@
- table = metable;
+@@ -57,6 +59,11 @@ int makeindex;
tablesize = sizeof metable;
cmds = &mecmds;
-+ break;
+ break;
+ case MANDOC:
+ table = mandoctable;
+ tablesize = sizeof mandoctable;
+ cmds = &mandoccmds;
- break;
++ break;
}
endoftable = table + tablesize/sizeof table[0];
+ if (showInfo == NO)