Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/spamassassin/, mail-filter/spamassassin/files/
Date: Fri, 04 Aug 2017 20:57:50
Message-Id: 1501880227.be5834b9e792665e3c20fc013bae6ab426f73097.mjo@gentoo
1 commit: be5834b9e792665e3c20fc013bae6ab426f73097
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 4 20:47:06 2017 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 4 20:57:07 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be5834b9
7
8 mail-filter/spamassassin: add a patch to -r11 for perl-5.26 compatibility.
9
10 Gentoo-Bug: 625316
11
12 Package-Manager: Portage-2.3.6, Repoman-2.3.1
13
14 .../spamassassin/files/spamassassin-3.4.1-perl526.patch | 14 ++++++++++++++
15 mail-filter/spamassassin/spamassassin-3.4.1-r11.ebuild | 1 +
16 2 files changed, 15 insertions(+)
17
18 diff --git a/mail-filter/spamassassin/files/spamassassin-3.4.1-perl526.patch b/mail-filter/spamassassin/files/spamassassin-3.4.1-perl526.patch
19 new file mode 100644
20 index 00000000000..1c63136e3f6
21 --- /dev/null
22 +++ b/mail-filter/spamassassin/files/spamassassin-3.4.1-perl526.patch
23 @@ -0,0 +1,14 @@
24 +https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7367
25 +https://bugs.gentoo.org/625316
26 +
27 +--- Mail-SpamAssassin-3.4.1/spamc/configure.pl
28 ++++ Mail-SpamAssassin-3.4.1/spamc/configure.pl
29 +@@ -66,7 +66,7 @@
30 + # Do the same thing as for the preprocessor below.
31 + package version_h;
32 + my $Z = $0;
33 +- local $0 = "version.h.pl";
34 ++ local $0 = "./version.h.pl";
35 + local @ARGV = ();
36 + # Got to check for defined because the script returns shell error level!
37 + unless (defined do $0) {
38
39 diff --git a/mail-filter/spamassassin/spamassassin-3.4.1-r11.ebuild b/mail-filter/spamassassin/spamassassin-3.4.1-r11.ebuild
40 index a6f8ed6769d..4c358345773 100644
41 --- a/mail-filter/spamassassin/spamassassin-3.4.1-r11.ebuild
42 +++ b/mail-filter/spamassassin/spamassassin-3.4.1-r11.ebuild
43 @@ -86,6 +86,7 @@ PATCHES=(
44 "${FILESDIR}/spamassassin-3.4.1-bug_7231.patch"
45 "${FILESDIR}/spamassassin-3.4.1-bug_7265.patch"
46 "${FILESDIR}/spamassassin-3.4.1-bug_7231-extra.patch"
47 + "${FILESDIR}/spamassassin-3.4.1-perl526.patch"
48 )
49
50 src_prepare() {