summaryrefslogtreecommitdiff
path: root/japanese
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
parentAdd py-xlib-0.9, an X11 library for Python (diff)
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')
-rw-r--r--japanese/man/Makefile2
-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
4 files changed, 40 insertions, 1 deletions
diff --git a/japanese/man/Makefile b/japanese/man/Makefile
index 2e8018f397fa..87e7927cc277 100644
--- a/japanese/man/Makefile
+++ b/japanese/man/Makefile
@@ -7,7 +7,7 @@
PORTNAME= man
PORTVERSION= 1.1j
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= japanese
MASTER_SITES= ftp://daemon.jp.freebsd.org/pub/FreeBSD-jp/man-jp/ \
${MASTER_SITE_PORTS_JP}
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);