From 7aea09412412103e72b0016dad0c956501145dd2 Mon Sep 17 00:00:00 2001 From: yyamano Date: Tue, 21 Mar 2006 17:30:00 +0000 Subject: Make this build on Darwin. --- textproc/ja-groff/distinfo | 6 +++++- textproc/ja-groff/patches/patch-am | 13 +++++++++++++ textproc/ja-groff/patches/patch-an | 13 +++++++++++++ textproc/ja-groff/patches/patch-ao | 22 ++++++++++++++++++++++ textproc/ja-groff/patches/patch-ap | 13 +++++++++++++ 5 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 textproc/ja-groff/patches/patch-am create mode 100644 textproc/ja-groff/patches/patch-an create mode 100644 textproc/ja-groff/patches/patch-ao create mode 100644 textproc/ja-groff/patches/patch-ap (limited to 'textproc/ja-groff') diff --git a/textproc/ja-groff/distinfo b/textproc/ja-groff/distinfo index f97d70a2d5e..6703b2d2d61 100644 --- a/textproc/ja-groff/distinfo +++ b/textproc/ja-groff/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 14:48:43 agc Exp $ +$NetBSD: distinfo,v 1.3 2006/03/21 17:30:00 yyamano Exp $ SHA1 (groff-1.10.tar.gz) = 032eeb221aff1a621019374646819e8741c11d39 RMD160 (groff-1.10.tar.gz) = 3dafd992282ef8bf1b71d908acc45ede575b177f @@ -18,3 +18,7 @@ SHA1 (patch-ai) = 4bfc39d00cc63ed0de02489ce45d01e49563871e SHA1 (patch-aj) = 70ec56a901457c6534c77bd1c67e6c2d6f7b7cd3 SHA1 (patch-ak) = 2cd8539d364edee3f305bb49c5b2518735e76666 SHA1 (patch-al) = 63c383ec386657aff1d84e01dee1843d7f94109b +SHA1 (patch-am) = 4d0a6a4e76691d2baa17e7a0784659668977a9a6 +SHA1 (patch-an) = 3af3af89d799d968d64cfa8ba89f6b549db17bdb +SHA1 (patch-ao) = 0e209fb57d849ac670ad2a635b7b78114203e705 +SHA1 (patch-ap) = 54949929ca91fcfb090c2d570d754d347a1923fd diff --git a/textproc/ja-groff/patches/patch-am b/textproc/ja-groff/patches/patch-am new file mode 100644 index 00000000000..3063a7eabd5 --- /dev/null +++ b/textproc/ja-groff/patches/patch-am @@ -0,0 +1,13 @@ +$NetBSD: patch-am,v 1.1 2006/03/21 17:30:00 yyamano Exp $ + +--- refer/command.cc.orig 1995-06-22 16:42:04.000000000 +0900 ++++ refer/command.cc +@@ -631,7 +631,7 @@ a single field, + ? means that the previous argument is optional, * means that the + previous argument can occur any number of times. */ + +-struct { ++static struct { + const char *name; + command_t func; + const char *arg_types; diff --git a/textproc/ja-groff/patches/patch-an b/textproc/ja-groff/patches/patch-an new file mode 100644 index 00000000000..c5960083545 --- /dev/null +++ b/textproc/ja-groff/patches/patch-an @@ -0,0 +1,13 @@ +$NetBSD: patch-an,v 1.1 2006/03/21 17:30:00 yyamano Exp $ + +--- refer/refer.cc.orig 1995-06-22 16:42:06.000000000 +0900 ++++ refer/refer.cc +@@ -513,7 +513,7 @@ static void do_file(const char *filename + if ((flags & FORCE_LEFT_BRACKET) || !have_text) + pending_line += PRE_LABEL_MARKER; + pending_line += pre; +- pending_line += LABEL_MARKER + lt; ++ pending_line += LABEL_MARKER + (int)lt; + pending_line += post; + if ((flags & FORCE_RIGHT_BRACKET) || !have_text) + pending_line += POST_LABEL_MARKER; diff --git a/textproc/ja-groff/patches/patch-ao b/textproc/ja-groff/patches/patch-ao new file mode 100644 index 00000000000..5605b48f97d --- /dev/null +++ b/textproc/ja-groff/patches/patch-ao @@ -0,0 +1,22 @@ +$NetBSD: patch-ao,v 1.1 2006/03/21 17:30:00 yyamano Exp $ + +--- tfmtodit/tfmtodit.cc.orig 2006-03-22 01:56:43.000000000 +0900 ++++ tfmtodit/tfmtodit.cc +@@ -651,7 +651,7 @@ lig_chars table. `ch' gives the full-nam + gives the groff name of the character, `i' gives its index in + the encoding, which is filled in later (-1 if it does not appear). */ + +-struct { ++static struct { + const char *ch; + int i; + } lig_chars[] = { +@@ -671,7 +671,7 @@ enum { CH_f, CH_i, CH_l, CH_ff, CH_fi, C + + // Each possible ligature appears in this table. + +-struct { ++static struct { + unsigned char c1, c2, res; + const char *ch; + } lig_table[] = { diff --git a/textproc/ja-groff/patches/patch-ap b/textproc/ja-groff/patches/patch-ap new file mode 100644 index 00000000000..bfac0df106d --- /dev/null +++ b/textproc/ja-groff/patches/patch-ap @@ -0,0 +1,13 @@ +$NetBSD: patch-ap,v 1.1 2006/03/21 17:30:00 yyamano Exp $ + +--- eqn/box.cc.orig 1995-06-22 16:41:54.000000000 +0900 ++++ eqn/box.cc +@@ -80,7 +80,7 @@ int matrix_side_sep = 17; // = thin spac + + int nroff = 0; // should we grok ndefine or tdefine? + +-struct { ++static struct { + const char *name; + int *ptr; + } param_table[] = { -- cgit v1.2.3