summaryrefslogtreecommitdiff
path: root/devel/bugzilla52/files/patch-whine.pl
blob: ccf6ee998def22ab112f170155398ae26100fdce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Bug 1235395 - whine.pl broken due to a missing generate_email() routine
# https://bugzilla.mozilla.org/show_bug.cgi?id=1235395
# Status: Upstreamed, pending next release

--- whine.pl.orig	2024-09-03 14:36:48 UTC
+++ whine.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -T
+#!/usr/local/bin/perl -T
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -13,14 +13,13 @@ use warnings;
 use 5.14.0;
 use strict;
 use warnings;
-
 use lib qw(. lib);
 
 use Bugzilla;
 use Bugzilla::Constants;
 use Bugzilla::Search;
 use Bugzilla::User;
-use Bugzilla::Mailer;
+use Bugzilla::Mailer qw(MessageToMTA generate_email);
 use Bugzilla::Util;
 use Bugzilla::Group;