Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 1997 06:56:56 -0800 (PST)
From:      graphite@jp.freebsd.org
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   ports/5344: Fix patches for ja-groff
Message-ID:  <199712191456.GAA21795@hub.freebsd.org>
Resent-Message-ID: <199712191500.HAA22022@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         5344
>Category:       ports
>Synopsis:       Fix patches for ja-groff
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 19 07:00:01 PST 1997
>Last-Modified:
>Originator:     Noritaka Ishizumi
>Organization:
NAIST
>Release:        3.0-971208-SNAP
>Environment:
FreeBSD gargoyle.aist-nara.ac.jp 3.0-971203-SNAP FreeBSD 3.0-971203-SNAP #0: Sun Dec  7 19:26:22 JST 1997     norita-i@gargoyle.aist-nara.ac.jp:/.sd1/src/sys/compile/GARGOYLE  i386
>Description:
1. Fix a typo for PS output.
2. Fix a probrem of tbl processing in japanese.
>How-To-Repeat:
1. groff -Tps -mandoc csh.1 (csh.1 in japanese).
>Fix:
Apply this patch to ja-groff tree.

diff -ur groff/patches/patch-ab groff.new/patches/patch-ab
--- groff/patches/patch-ab	Fri Apr  4 23:59:44 1997
+++ groff.new/patches/patch-ab	Thu Dec 18 02:06:04 1997
@@ -1,5 +1,5 @@
---- README.jgroff-0.99+	Thu Jan  1 09:00:00 1970
-+++ README.jgroff-0.99+	Sun Feb 23 00:21:41 1997
+--- README.jgroff-0.99+.orig	Thu Jan  1 09:00:00 1970
++++ README.jgroff-0.99+	Wed Dec 10 20:33:01 1997
 @@ -0,0 +1,63 @@
 +          日本語対応版 groff-1.10 (jgroff-0.99) unofficial patch
 +
@@ -64,8 +64,8 @@
 +スコードをこのように変更するとより良い表示結果となる等のアドバイスを募
 +集しています。
 + k-horik@yk.rim.or.jp まで連絡願います。
---- devdvi/DESC.in	Sat Feb 22 22:38:37 1997
-+++ devdvi/DESC.in	Sun Feb 23 00:04:04 1997
+--- devdvi/DESC.in.orig	Wed Dec 10 20:31:49 1997
++++ devdvi/DESC.in	Wed Dec 10 20:33:01 1997
 @@ -3,6 +3,7 @@
  res 57816
  hor 1
@@ -74,8 +74,8 @@
  sizes 500 600 700 800 900 1000 1100 1200 1400 1440 1600 1728 1800
  2000 2074 2200 2400 2488 2800 3600 0
  fonts 15 R I B BI 0 0 0 0 0 MI S EX CW M G
---- devnippon/DESC.proto	Sat Feb 22 22:38:38 1997
-+++ devnippon/DESC.proto	Sun Feb 23 00:04:04 1997
+--- devnippon/DESC.proto.orig	Wed Dec 10 20:31:56 1997
++++ devnippon/DESC.proto	Wed Dec 10 20:33:02 1997
 @@ -3,6 +3,7 @@
  vert 40
  unitwidth 10
@@ -84,8 +84,8 @@
  fonts 6 R I B BI M G
  ondemand M G
  tcommand
---- devps/DESC.in	Sat Feb 22 22:38:39 1997
-+++ devps/DESC.in	Sun Feb 23 00:04:04 1997
+--- devps/DESC.in.orig	Wed Dec 10 20:31:56 1997
++++ devps/DESC.in	Wed Dec 10 20:33:02 1997
 @@ -2,7 +2,7 @@
  hor 1
  vert 1
@@ -95,8 +95,8 @@
  sizescale 1000
  unitwidth 1000
  sizes 1000-10000000 0
---- troff/charinfo.h	Sat Feb 22 22:38:56 1997
-+++ troff/charinfo.h	Sun Feb 23 00:04:04 1997
+--- troff/charinfo.h.orig	Wed Dec 10 20:31:54 1997
++++ troff/charinfo.h	Wed Dec 10 20:33:01 1997
 @@ -52,7 +52,10 @@
  #ifdef	NIPPON
      ,
@@ -144,8 +144,8 @@
  #endif
  
  inline charinfo *charinfo::get_translation(int transparent_throughput)
---- troff/env.cc	Sat Feb 22 22:38:56 1997
-+++ troff/env.cc	Sun Feb 23 00:04:04 1997
+--- troff/env.cc.orig	Wed Dec 10 20:31:54 1997
++++ troff/env.cc	Wed Dec 10 20:33:01 1997
 @@ -291,27 +291,13 @@
        /*
         * This node is a ASCII character node.
@@ -324,8 +324,8 @@
        pre_char_is_ascii = 0;
  
        if (!vlower.is_zero()) {
---- troff/input.cc	Sat Feb 22 22:38:57 1997
-+++ troff/input.cc	Sun Feb 23 00:04:05 1997
+--- troff/input.cc.orig	Wed Dec 10 20:31:54 1997
++++ troff/input.cc	Wed Dec 10 20:33:01 1997
 @@ -4680,6 +4680,12 @@
    charset_table[';']->set_flags(charinfo::PRE_KINSOKU);
    charset_table['>']->set_flags(charinfo::PRE_KINSOKU);
@@ -408,16 +408,17 @@
  #endif	/* NIPPON */
  }
  
---- troff/node.cc	Sat Feb 22 22:38:58 1997
-+++ troff/node.cc	Sun Feb 23 00:04:05 1997
-@@ -4296,6 +4296,22 @@
+--- troff/node.cc.orig	Wed Dec 10 20:31:54 1997
++++ troff/node.cc	Wed Dec 10 20:35:44 1997
+@@ -4296,6 +4296,23 @@
  {
      return NODE_NEWLINE_SPACE;
  }
-+node_type space_node::get_node_type()
-+{
-+    return NODE_SPACE;
-+}
++//To hanlde Japanese tbl, space_node does not return NODE_SPACE.
++//node_type space_node::get_node_type()
++//{
++//    return NODE_SPACE;
++//}
 +node_type word_space_node::get_node_type()
 +{
 +    return NODE_SPACE;
@@ -433,8 +434,8 @@
  #endif
  
  int unbreakable_space_node::same(node *nd)
---- troff/node.h	Sat Feb 22 22:38:58 1997
-+++ troff/node.h	Sun Feb 23 00:04:05 1997
+--- troff/node.h.orig	Wed Dec 10 20:31:54 1997
++++ troff/node.h	Wed Dec 10 20:36:44 1997
 @@ -31,7 +31,7 @@
  
  enum hyphenation_type { HYPHEN_MIDDLE, HYPHEN_BOUNDARY, HYPHEN_INHIBIT };
@@ -444,17 +445,18 @@
  #endif
  
  class ascii_output_file;
-@@ -173,6 +173,9 @@
+@@ -173,6 +173,10 @@
    void ascii_print(ascii_output_file *);
    int same(node *);
    const char *type();
-+#ifdef NIPPON
-+  node_type get_node_type();
-+#endif
++//To handle Japanese tbl, space_node does not return NODE_SPACE.
++//#ifdef NIPPON
++//  node_type get_node_type();
++//#endif
  };
  
  class word_space_node : public space_node {
-@@ -184,6 +187,9 @@
+@@ -184,6 +188,9 @@
    void tprint(troff_output_file *);
    int same(node *);
    const char *type();
@@ -464,7 +466,7 @@
  };
  
  #ifdef	NIPPON
-@@ -209,6 +215,9 @@
+@@ -209,6 +216,9 @@
    node *copy();
    int same(node *);
    const char *type();
@@ -474,7 +476,7 @@
    breakpoint *get_breakpoints(hunits width, int nspaces, breakpoint *rest = 0,
  			      int is_inner = 0);
    int nbreaks();
-@@ -224,6 +233,9 @@
+@@ -224,6 +234,9 @@
    int reread(int *);
    int same(node *);
    const char *type();
diff -ur groff/patches/patch-ac groff.new/patches/patch-ac
--- groff/patches/patch-ac	Tue May 20 13:50:55 1997
+++ groff.new/patches/patch-ac	Thu Dec 18 01:42:24 1997
@@ -14,7 +14,7 @@
 -.		na
 -.		nr nS 1
 +.	ie "\\$1"名称" \{\
-+.		hk
++.		hK
 +'		in 0
  .	\}
 -.       if "\\$1"DESCRIPTION" \{\

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712191456.GAA21795>