commit: be5834b9e792665e3c20fc013bae6ab426f73097 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Fri Aug 4 20:47:06 2017 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Fri Aug 4 20:57:07 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be5834b9
mail-filter/spamassassin: add a patch to -r11 for perl-5.26 compatibility. Gentoo-Bug: 625316 Package-Manager: Portage-2.3.6, Repoman-2.3.1 .../spamassassin/files/spamassassin-3.4.1-perl526.patch | 14 ++++++++++++++ mail-filter/spamassassin/spamassassin-3.4.1-r11.ebuild | 1 + 2 files changed, 15 insertions(+) diff --git a/mail-filter/spamassassin/files/spamassassin-3.4.1-perl526.patch b/mail-filter/spamassassin/files/spamassassin-3.4.1-perl526.patch new file mode 100644 index 00000000000..1c63136e3f6 --- /dev/null +++ b/mail-filter/spamassassin/files/spamassassin-3.4.1-perl526.patch @@ -0,0 +1,14 @@ +https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7367 +https://bugs.gentoo.org/625316 + +--- Mail-SpamAssassin-3.4.1/spamc/configure.pl ++++ Mail-SpamAssassin-3.4.1/spamc/configure.pl +@@ -66,7 +66,7 @@ + # Do the same thing as for the preprocessor below. + package version_h; + my $Z = $0; +- local $0 = "version.h.pl"; ++ local $0 = "./version.h.pl"; + local @ARGV = (); + # Got to check for defined because the script returns shell error level! + unless (defined do $0) { diff --git a/mail-filter/spamassassin/spamassassin-3.4.1-r11.ebuild b/mail-filter/spamassassin/spamassassin-3.4.1-r11.ebuild index a6f8ed6769d..4c358345773 100644 --- a/mail-filter/spamassassin/spamassassin-3.4.1-r11.ebuild +++ b/mail-filter/spamassassin/spamassassin-3.4.1-r11.ebuild @@ -86,6 +86,7 @@ PATCHES=( "${FILESDIR}/spamassassin-3.4.1-bug_7231.patch" "${FILESDIR}/spamassassin-3.4.1-bug_7265.patch" "${FILESDIR}/spamassassin-3.4.1-bug_7231-extra.patch" + "${FILESDIR}/spamassassin-3.4.1-perl526.patch" ) src_prepare() {