summaryrefslogtreecommitdiff
path: root/textproc/namazu2/patches/patch-an
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/namazu2/patches/patch-an')
-rw-r--r--textproc/namazu2/patches/patch-an13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/namazu2/patches/patch-an b/textproc/namazu2/patches/patch-an
new file mode 100644
index 00000000000..4c405a44474
--- /dev/null
+++ b/textproc/namazu2/patches/patch-an
@@ -0,0 +1,13 @@
+$NetBSD: patch-an,v 1.3 2002/12/01 14:23:06 taca Exp $
+
+--- filter/msword.pl.orig Mon Aug 26 12:13:31 2002
++++ filter/msword.pl
+@@ -128,7 +128,7 @@ sub filter_wv ($$$$$) {
+ my $supported = undef;
+ my $fh_cmd = util::efopen("$wvversionpath $tmpfile |");
+ while (<$fh_cmd>) {
+- if (/^Version: (word\d+),/i) {
++ if (/^Version: (word\d+)(?:,| )/i) {
+ $version = $1;
+ #
+ # Only word8 format is supported for Japanese.