git: dada24b4a32e - main - devel/bugzilla52: add a new patch.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Jun 2026 04:18:48 UTC
The branch main has been updated by linimon:
URL: https://cgit.FreeBSD.org/ports/commit/?id=dada24b4a32e6d6ebe6aac54170842cb9c621371
commit dada24b4a32e6d6ebe6aac54170842cb9c621371
Author: Mark Linimon <linimon@FreeBSD.org>
AuthorDate: 2026-06-24 04:01:09 +0000
Commit: Mark Linimon <linimon@FreeBSD.org>
CommitDate: 2026-06-24 04:18:39 +0000
devel/bugzilla52: add a new patch.
Newer versions of perl (post 5.38) object to a line in Bug.pm
as being ambiguous. Change the logic to do what the line was
originally intended to do.
---
devel/bugzilla52/files/patch-Bugzilla_Bug.pm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/devel/bugzilla52/files/patch-Bugzilla_Bug.pm b/devel/bugzilla52/files/patch-Bugzilla_Bug.pm
new file mode 100644
index 000000000000..c4cfdde5b87b
--- /dev/null
+++ b/devel/bugzilla52/files/patch-Bugzilla_Bug.pm
@@ -0,0 +1,11 @@
+--- Bugzilla/Bug.pm.orig 2026-06-24 03:32:13 UTC
++++ Bugzilla/Bug.pm
+@@ -587,7 +587,7 @@ sub possible_duplicates {
+ my $products = $params->{products} || [];
+ my $limit = $params->{limit} || MAX_POSSIBLE_DUPLICATES;
+ $limit = MAX_POSSIBLE_DUPLICATES if $limit > MAX_POSSIBLE_DUPLICATES;
+- $products = [$products] if !ref($products) eq 'ARRAY';
++ $products = [$products] if ref($products) neq 'ARRAY';
+
+ my $orig_limit = $limit;
+ detaint_natural($limit)