aboutsummaryrefslogtreecommitdiff
path: root/japanese/man/files
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2001-12-14 06:04:35 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2001-12-14 06:04:35 +0000
commit049896f9de597028528d0c2cee18f47acdd9d8cc (patch)
tree653b5ef5fc80bbe2558efd1fd96a1722b9c05ea0 /japanese/man/files
parente6263ccd11c1acbd8ff63f9b6c6c0528dd324e03 (diff)
downloadports-049896f9de597028528d0c2cee18f47acdd9d8cc.tar.gz
ports-049896f9de597028528d0c2cee18f47acdd9d8cc.zip
Apply patch for -a option.
PR: ports/32824 Submitted by: MORI Kouji <mori@tri.asanuma.co.jp>
Notes
Notes: svn path=/head/; revision=51516
Diffstat (limited to 'japanese/man/files')
-rw-r--r--japanese/man/files/patch-locale.c19
-rw-r--r--japanese/man/files/patch-locale.h9
-rw-r--r--japanese/man/files/patch-man.c11
3 files changed, 39 insertions, 0 deletions
diff --git a/japanese/man/files/patch-locale.c b/japanese/man/files/patch-locale.c
new file mode 100644
index 000000000000..ac4e2157bac2
--- /dev/null
+++ b/japanese/man/files/patch-locale.c
@@ -0,0 +1,19 @@
+--- man/locale.c 2001/08/27 00:01:55
++++ man/locale.c 2001/12/13 03:00:32
+@@ -12,7 +12,6 @@
+
+ int debug;
+ int insecure = 0;
+-int findall;
+ char *search_lang_path = "ja%en";
+
+ typedef struct {
+@@ -259,7 +258,7 @@
+ return found;
+ }
+
+-int man_ml(char *name)
++int man_ml(char *name, int findall)
+ {
+ static man_lang_env_t ***root = NULL;
+ man_lang_env_t ***p;
diff --git a/japanese/man/files/patch-locale.h b/japanese/man/files/patch-locale.h
new file mode 100644
index 000000000000..36ee7957ac20
--- /dev/null
+++ b/japanese/man/files/patch-locale.h
@@ -0,0 +1,9 @@
+--- man/locale.h 2001/07/17 01:42:54
++++ man/locale.h 2001/12/13 02:17:39
+@@ -20,5 +20,5 @@
+ char *directive(int);
+ int try_section_ml(char *, char *, char *, int, int);
+ int try_section(char *, char *, char *, int);
+-int man_ml(char *);
++int man_ml(char *, int);
+ int man(char *);
diff --git a/japanese/man/files/patch-man.c b/japanese/man/files/patch-man.c
new file mode 100644
index 000000000000..6839bdc4cbd5
--- /dev/null
+++ b/japanese/man/files/patch-man.c
@@ -0,0 +1,11 @@
+--- man/man.c 2001/07/30 08:49:20
++++ man/man.c 2001/12/13 02:16:57
+@@ -222,7 +222,7 @@
+ }
+ else
+ {
+- status = man_ml (nextarg);
++ status = man_ml (nextarg, findall);
+
+ if (status == 0)
+ gripe_not_found (nextarg, section);