diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2017-10-20 09:15:06 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2017-10-20 09:15:06 +0000 |
commit | 2cbd7edc3718570d48b5bac1c5e6e28102a7b1d6 (patch) | |
tree | 27b89869a9ffb831b9ca23c3d4be3d0ecabb0ad9 /textproc | |
parent | be5e578c9709a7de94df7c0cc72166a95e9d9c74 (diff) | |
download | ports-2cbd7edc3718570d48b5bac1c5e6e28102a7b1d6.tar.gz ports-2cbd7edc3718570d48b5bac1c5e6e28102a7b1d6.zip |
Notes
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/p5-Plucene-Analysis-CJKAnalyzer/files/patch-inc_Module_Install.pm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/p5-Plucene-Analysis-CJKAnalyzer/files/patch-inc_Module_Install.pm b/textproc/p5-Plucene-Analysis-CJKAnalyzer/files/patch-inc_Module_Install.pm new file mode 100644 index 000000000000..eb60921569bf --- /dev/null +++ b/textproc/p5-Plucene-Analysis-CJKAnalyzer/files/patch-inc_Module_Install.pm @@ -0,0 +1,11 @@ +--- inc/Module/Install.pm.orig 2006-01-19 16:08:23 UTC ++++ inc/Module/Install.pm +@@ -89,7 +89,7 @@ sub preload { + my %seen_method; + foreach my $obj ( @exts ) { + while (my ($method, $glob) = each %{ref($obj) . '::'}) { +- next unless defined *{$glob}{CODE}; ++ next unless exists &{ref($obj).'::'.$method}; + next if $method =~ /^_/; + next if $method eq uc($method); + $seen_method{$method}++; |