summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2017-08-04 16:47:06 -0400
committerMichael Orlitzky <mjo@gentoo.org>2017-08-04 16:57:07 -0400
commitbe5834b9e792665e3c20fc013bae6ab426f73097 (patch)
tree73d77d8dd7b08d40fd1c217fd04014b501195c45 /mail-filter
parentdev-libs/dclog: eapi bump to 6, add ~amd64 keyword (diff)
downloadgentoo-be5834b9e792665e3c20fc013bae6ab426f73097.tar.gz
gentoo-be5834b9e792665e3c20fc013bae6ab426f73097.tar.bz2
gentoo-be5834b9e792665e3c20fc013bae6ab426f73097.zip
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
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/spamassassin/files/spamassassin-3.4.1-perl526.patch14
-rw-r--r--mail-filter/spamassassin/spamassassin-3.4.1-r11.ebuild1
2 files changed, 15 insertions, 0 deletions
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 000000000000..1c63136e3f66
--- /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 a6f8ed6769d4..4c3583457734 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() {