aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2017-10-20 09:15:06 +0000
committerMathieu Arnold <mat@FreeBSD.org>2017-10-20 09:15:06 +0000
commit2cbd7edc3718570d48b5bac1c5e6e28102a7b1d6 (patch)
tree27b89869a9ffb831b9ca23c3d4be3d0ecabb0ad9 /textproc
parentbe5e578c9709a7de94df7c0cc72166a95e9d9c74 (diff)
downloadports-2cbd7edc3718570d48b5bac1c5e6e28102a7b1d6.tar.gz
ports-2cbd7edc3718570d48b5bac1c5e6e28102a7b1d6.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-Plucene-Analysis-CJKAnalyzer/files/patch-inc_Module_Install.pm11
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}++;