summaryrefslogtreecommitdiff
path: root/japanese/p5-Text-ChaSen/files
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-03-02 07:00:32 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-03-02 07:00:32 +0000
commit6bcd1e4d5ffe2108239222a50bb211af3740f5ec (patch)
treebd1f22ef98765cfbaae0656b64e48b2b78287160 /japanese/p5-Text-ChaSen/files
parentUse PERL_CONFIGURE. (diff)
Add ja-p5-Text-ChaSen, the ChaSen library module for Perl5, separated
from japanese/chasen.
Diffstat (limited to 'japanese/p5-Text-ChaSen/files')
-rw-r--r--japanese/p5-Text-ChaSen/files/patch-ChaSen.pm13
-rw-r--r--japanese/p5-Text-ChaSen/files/patch-ChaSen.xs11
-rw-r--r--japanese/p5-Text-ChaSen/files/patch-Makefile.PL9
3 files changed, 33 insertions, 0 deletions
diff --git a/japanese/p5-Text-ChaSen/files/patch-ChaSen.pm b/japanese/p5-Text-ChaSen/files/patch-ChaSen.pm
new file mode 100644
index 000000000000..373742a116c8
--- /dev/null
+++ b/japanese/p5-Text-ChaSen/files/patch-ChaSen.pm
@@ -0,0 +1,13 @@
+--- ChaSen.pm.orig Thu Aug 19 17:20:15 1999
++++ ChaSen.pm Sun Feb 27 02:05:45 2000
+@@ -11,8 +11,8 @@
+
+ use Text::ChaSen;
+
+- $res = chasen::getopt_argv('chasen-perl', '-j', '-F', '%m ');
+- $str = chasen::sparse_tostr("日本語の文字列");
++ $res = Text::ChaSen::getopt_argv('chasen-perl', '-j', '-F', '%m ');
++ $str = Text::ChaSen::sparse_tostr("日本語の文字列");
+
+ =head1 DESCRIPTION
+
diff --git a/japanese/p5-Text-ChaSen/files/patch-ChaSen.xs b/japanese/p5-Text-ChaSen/files/patch-ChaSen.xs
new file mode 100644
index 000000000000..217b185891dd
--- /dev/null
+++ b/japanese/p5-Text-ChaSen/files/patch-ChaSen.xs
@@ -0,0 +1,11 @@
+--- ChaSen.xs.orig Wed Aug 18 16:02:16 1999
++++ ChaSen.xs Tue Aug 1 18:16:03 2000
+@@ -12,6 +12,8 @@
+ #include "EXTERN.h"
+ #include "perl.h"
+ #include "XSUB.h"
++#define PERL_POLLUTE 1
++#include "embedvar.h"
+ #ifdef __cplusplus
+ }
+ #endif
diff --git a/japanese/p5-Text-ChaSen/files/patch-Makefile.PL b/japanese/p5-Text-ChaSen/files/patch-Makefile.PL
new file mode 100644
index 000000000000..8facbf3dd8a5
--- /dev/null
+++ b/japanese/p5-Text-ChaSen/files/patch-Makefile.PL
@@ -0,0 +1,9 @@
+--- Makefile.PL.orig Wed Aug 18 15:58:18 1999
++++ Makefile.PL Fri Mar 2 15:50:32 2001
+@@ -3,5 +3,5 @@
+ WriteMakefile(
+ 'NAME' => 'Text::ChaSen',
+ 'VERSION_FROM' => 'ChaSen.pm',
+- 'LIBS' => ['-lchasen']
++ 'LIBS' => ["-L$ENV{PREFIX}/lib -lchasen"]
+ );