diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-15 15:04:45 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-15 20:07:17 +0000 |
commit | 6d9f95199d0493aa5b893ccc665c0f1a37d51e14 (patch) | |
tree | 0834d6fcd328e3ddf184982107c5e1d06a164ea5 /main/perl-mail-spamassassin/Mail-SpamAssassin.patch | |
parent | 4d288af58bbcaac4043611d2dcfd057ff22ba7c9 (diff) | |
download | aports-6d9f95199d0493aa5b893ccc665c0f1a37d51e14.tar.bz2 aports-6d9f95199d0493aa5b893ccc665c0f1a37d51e14.tar.xz |
main/perl-mail-spamassassin: rebuild against perl 5.26
Diffstat (limited to 'main/perl-mail-spamassassin/Mail-SpamAssassin.patch')
-rw-r--r-- | main/perl-mail-spamassassin/Mail-SpamAssassin.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/perl-mail-spamassassin/Mail-SpamAssassin.patch b/main/perl-mail-spamassassin/Mail-SpamAssassin.patch new file mode 100644 index 0000000000..3f1111765e --- /dev/null +++ b/main/perl-mail-spamassassin/Mail-SpamAssassin.patch @@ -0,0 +1,22 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Todd Rinaldo <toddr@cpanel.net> +Date: Fri, 8 Jan 2016 01:46:15 -0600 +Subject: Add support for . not in @INC via PERL_USE_UNSAFE_INC + +--- + modules/Mail-SpamAssassin/Mail-SpamAssassin/Makefile.PL | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/modules/Mail-SpamAssassin/Mail-SpamAssassin/Makefile.PL b/modules/Mail-SpamAssassin/Mail-SpamAssassin/Makefile.PL +index 33ca2af01..2142dfff0 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -1050,7 +1050,7 @@ QSPAMC_SRC = spamc/qmail-spamc.c spamc/utils.c + LIBSPAMC_SRC = spamc/libspamc.c spamc/utils.c + + $(SPAMC_MAKEFILE): $(SPAMC_MAKEFILE).in $(SPAMC_MAKEFILE).win spamc/spamc.h.in +- $(CONFIGURE) --prefix="$(I_PREFIX)" --sysconfdir="$(I_CONFDIR)" --datadir="$(I_DATADIR)" --enable-ssl="$(ENABLE_SSL)" ++ PERL_USE_UNSAFE_INC=1 $(CONFIGURE) --prefix="$(I_PREFIX)" --sysconfdir="$(I_CONFDIR)" --datadir="$(I_DATADIR)" --enable-ssl="$(ENABLE_SSL)" + + spamc_has_moved: + $(NOECHO) echo "***" |