pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/texi2roff Make this build on Darwin.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dad1eaee49be
branches:  trunk
changeset: 509988:dad1eaee49be
user:      yyamano <yyamano%pkgsrc.org@localhost>
date:      Tue Mar 21 16:45:25 2006 +0000

description:
Make this build on Darwin.

diffstat:

 textproc/texi2roff/distinfo         |   4 ++--
 textproc/texi2roff/patches/patch-ai |  25 ++++++++++++++++---------
 2 files changed, 18 insertions(+), 11 deletions(-)

diffs (69 lines):

diff -r 70de43f01378 -r dad1eaee49be textproc/texi2roff/distinfo
--- a/textproc/texi2roff/distinfo       Tue Mar 21 16:31:25 2006 +0000
+++ b/textproc/texi2roff/distinfo       Tue Mar 21 16:45:25 2006 +0000
@@ -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-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 -r 70de43f01378 -r dad1eaee49be textproc/texi2roff/patches/patch-ai
--- a/textproc/texi2roff/patches/patch-ai       Tue Mar 21 16:31:25 2006 +0000
+++ b/textproc/texi2roff/patches/patch-ai       Tue Mar 21 16:45:25 2006 +0000
@@ -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 @@
  
  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)



Home | Main Index | Thread Index | Old Index