summaryrefslogtreecommitdiff
path: root/textproc/texi2roff
diff options
context:
space:
mode:
authoryyamano <yyamano@pkgsrc.org>2006-03-21 16:45:25 +0000
committeryyamano <yyamano@pkgsrc.org>2006-03-21 16:45:25 +0000
commit134643ae697f4708fc46d61abfe9b3c09b8ba71a (patch)
tree203727e687feae41d94e125fde0fec7fac412f2d /textproc/texi2roff
parentf6139359305a0694a585b51caf78dc22eb8e62fd (diff)
downloadpkgsrc-134643ae697f4708fc46d61abfe9b3c09b8ba71a.tar.gz
Make this build on Darwin.
Diffstat (limited to 'textproc/texi2roff')
-rw-r--r--textproc/texi2roff/distinfo4
-rw-r--r--textproc/texi2roff/patches/patch-ai25
2 files changed, 18 insertions, 11 deletions
diff --git a/textproc/texi2roff/distinfo b/textproc/texi2roff/distinfo
index 017099f876b..d7334da56d6 100644
--- a/textproc/texi2roff/distinfo
+++ b/textproc/texi2roff/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 14:48:50 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/03/21 16:45:25 yyamano Exp $
SHA1 (texi2roff-2.0.tar.gz) = df7f19141042af1fadee192c312b56b738b158f6
RMD160 (texi2roff-2.0.tar.gz) = fa08de910490b13b61b5ea2e2e3857163e7d183b
@@ -11,6 +11,6 @@ SHA1 (patch-ae) = e71ab16bbda0c9b9af874c4d8b98fc957f5c249b
SHA1 (patch-af) = b5e249c70ffce47df4e0835d8b78b74221bb2e17
SHA1 (patch-ag) = 69433277dba428b693b92c0131baecf48a50ea8f
SHA1 (patch-ah) = afd0be8af817268282ef019c4a8bd80da1496daa
-SHA1 (patch-ai) = 0fbaee1ec9e1203b911d6d39cad1f15ca7c67863
+SHA1 (patch-ai) = 61f095c7d912d3b6f1789f9b7124e5d510e52b3c
SHA1 (patch-aj) = b4109e2b7238f8c07236010fad97780e4eedf126
SHA1 (patch-ak) = 09759964e9e35c78ce629832ff93246054be54b3
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)