summaryrefslogtreecommitdiff
path: root/japanese/namazu2/patches/patch-ac
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2001-09-24 03:56:01 +0000
committertaca <taca@pkgsrc.org>2001-09-24 03:56:01 +0000
commit34ee40ea17f6fe347128e2dc045fa72d17bb4189 (patch)
treed734ce4ef4f94766d4740bd47964b68e4b698a20 /japanese/namazu2/patches/patch-ac
parentd5c160e2277658fc0e7d11122e43c3b8344c94c6 (diff)
downloadpkgsrc-34ee40ea17f6fe347128e2dc045fa72d17bb4189.tar.gz
Update namazu2 to namazu 2.0.7.
Overview of Changes in Namazu 2.0.7 - Sep 13, 2001 * Bug fix release. * Fix nmz_is_lang_ja() to return correct value. * Fix header files installation. * Fix mknmz checkpoint bug. * Added extensions of Ichitaro 7 and 8. * Fixed the bug when target directories contain the current directory. (Only Win32 Platforms) * Fixed the AND query bug that namazu ignores the keywords which don't match at all. * Lookup both environment variables of SCRIPT_NAME and DOCUMENT_URI (instead of DOCUMENT_NAME). (namazu.cgi) * More portability improvements. I've also applied those bug fixes after 2.0.7 released. (All URL bellow are in Japanese.) http://www.namazu.org/ml/namazu-users-ja/msg02073.html pl/util.pl http://www.namazu.org/ml/namazu-devel-ja/msg02024.html pl/htmlsplit.pl http://www.namazu.org/ml/namazu-devel-ja/msg02030.html scripts/mknmz.in
Diffstat (limited to 'japanese/namazu2/patches/patch-ac')
-rw-r--r--japanese/namazu2/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/japanese/namazu2/patches/patch-ac b/japanese/namazu2/patches/patch-ac
new file mode 100644
index 00000000000..505f834184f
--- /dev/null
+++ b/japanese/namazu2/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2001/09/24 03:56:02 taca Exp $
+
+--- filter/mhonarc.pl.orig Tue Feb 29 13:25:33 2000
++++ filter/mhonarc.pl
+@@ -105,7 +105,7 @@
+ $$contref =~ s/<!--X-Head-Body-Sep-Begin-->/\n/;
+
+ # Handle a field consists of two or more lines.
+- $$contref =~ s!^(<LI>)(.*?)(</LI>$)!$1 . lftospace($2) . $3!gems;
++ $$contref =~ s!^(<LI>)(.*?)(</LI>$)!$1 . lftospace($2) . $3!gemsi;
+
+ # For plugging spaces before headers
+ $$contref =~ s/^<LI>//gim;