summaryrefslogtreecommitdiff
path: root/japanese/namazu2/patches/patch-al
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/namazu2/patches/patch-al')
-rw-r--r--japanese/namazu2/patches/patch-al13
1 files changed, 13 insertions, 0 deletions
diff --git a/japanese/namazu2/patches/patch-al b/japanese/namazu2/patches/patch-al
new file mode 100644
index 00000000000..8ac0c8c6b76
--- /dev/null
+++ b/japanese/namazu2/patches/patch-al
@@ -0,0 +1,13 @@
+$NetBSD: patch-al,v 1.1 2001/09/24 03:56:02 taca Exp $
+
+--- scripts/mknmz.in.orig Wed Aug 22 15:16:20 2001
++++ scripts/mknmz.in
+@@ -179,6 +179,8 @@
+ my $processed_num = 0;
+ my $file_size = util::filesize($cfile);
+
++ return ($file_size, $processed_num) unless $file_size;
++
+ if ($var::Opt{'htmlsplit'} && $cfile =~ $conf::HTML_SUFFIX) {
+ my @parts = htmlsplit::split($cfile, "NMZ.partial");
+ if (@parts > 1) {