summaryrefslogtreecommitdiff
path: root/devel/bugzilla/files/patch-Bugzilla__Install__Requirements.pm
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2011-08-27 10:18:44 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2011-08-27 10:18:44 +0000
commitba1a02e4d9ece4a09fb34273ed3f4e75367c35bb (patch)
treee7bad301001fb49869d1785b8b73b0a883f15755 /devel/bugzilla/files/patch-Bugzilla__Install__Requirements.pm
parent- set EXPIRATION_DATE to "one week after FreeBSD 9.0-RELEASE-p0" (diff)
- Fix checksetup issue if p5-version>=0.92 is installed (which is in current ports tree)
See https://bugzilla.mozilla.org/show_bug.cgi?id=678772 PR: ports/159823 Submitted by: ohauer Approved by: skv (per mail) Obtained from: https://bugzilla.mozilla.org/attachment.cgi?id=552915&action=diff
Notes
Notes: svn path=/head/; revision=280567
Diffstat (limited to 'devel/bugzilla/files/patch-Bugzilla__Install__Requirements.pm')
-rw-r--r--devel/bugzilla/files/patch-Bugzilla__Install__Requirements.pm14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/bugzilla/files/patch-Bugzilla__Install__Requirements.pm b/devel/bugzilla/files/patch-Bugzilla__Install__Requirements.pm
new file mode 100644
index 000000000000..20d0ca894dfb
--- /dev/null
+++ b/devel/bugzilla/files/patch-Bugzilla__Install__Requirements.pm
@@ -0,0 +1,14 @@
+--- ./Bugzilla/Install/Requirements.pm.orig 2011-08-05 04:25:35.000000000 +0200
++++ ./Bugzilla/Install/Requirements.pm 2011-08-16 08:55:28.000000000 +0200
+@@ -698,8 +698,9 @@
+ # show "ok" or "not found".
+ if (exists $params->{found}) {
+ my $found_string;
+- # We do a string compare in case it's non-numeric.
+- if ($found and $found eq "-1") {
++ # We do a string compare in case it's non-numeric. We make sure
++ # it's not a version object as negative versions are forbidden.
++ if ($found && !ref($found) && $found eq '-1') {
+ $found_string = install_string('module_not_found');
+ }
+ elsif ($found) {