diff options
Diffstat (limited to 'dev-perl/Crypt-RSA/files')
-rw-r--r-- | dev-perl/Crypt-RSA/files/Crypt-RSA-1.99-no-dot-inc.patch | 24 | ||||
-rw-r--r-- | dev-perl/Crypt-RSA/files/Crypt-RSA-1.99-test-segv.patch | 31 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-perl/Crypt-RSA/files/Crypt-RSA-1.99-no-dot-inc.patch b/dev-perl/Crypt-RSA/files/Crypt-RSA-1.99-no-dot-inc.patch new file mode 100644 index 000000000000..f84cac6fbf19 --- /dev/null +++ b/dev-perl/Crypt-RSA/files/Crypt-RSA-1.99-no-dot-inc.patch @@ -0,0 +1,24 @@ +From 76ef0a65ae8b93da138c179e7e0c2995113825d9 Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Thu, 2 Jul 2020 20:11:50 +1200 +Subject: Include '.' in @INC on perl 5.26+ + +--- + Makefile.PL | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Makefile.PL b/Makefile.PL +index 95eb265..90f6da8 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -8,6 +8,7 @@ + ## + ## $Id: Makefile.PL,v 1.12 2001/05/30 13:10:32 vipul Exp $ + ++use lib '.'; + use inc::Module::Install; + + name 'Crypt-RSA'; +-- +2.27.0 + diff --git a/dev-perl/Crypt-RSA/files/Crypt-RSA-1.99-test-segv.patch b/dev-perl/Crypt-RSA/files/Crypt-RSA-1.99-test-segv.patch new file mode 100644 index 000000000000..559e36830179 --- /dev/null +++ b/dev-perl/Crypt-RSA/files/Crypt-RSA-1.99-test-segv.patch @@ -0,0 +1,31 @@ +From 877c93686ad36d5dcc4a42b8bff5f3c5383e6514 Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Thu, 2 Jul 2020 20:16:20 +1200 +Subject: Change load order of Convert::ASCII::Armour + +Which is reported to somehow fix segv's in t/11-wrapper.t + +Bug: https://rt.cpan.org/Ticket/Display.html?id=4877 +Bug: https://bugs.gentoo.org/627058 +--- + lib/Crypt/RSA.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/Crypt/RSA.pm b/lib/Crypt/RSA.pm +index 5a3d3bc..072f0b4 100644 +--- a/lib/Crypt/RSA.pm ++++ b/lib/Crypt/RSA.pm +@@ -15,9 +15,9 @@ use lib "$Bin/../../lib"; + use strict; + use base 'Class::Loader'; + use base 'Crypt::RSA::Errorhandler'; ++use Convert::ASCII::Armour; + use Crypt::RSA::Key; + use Crypt::RSA::DataFormat qw(steak octet_len); +-use Convert::ASCII::Armour; + use Carp; + + $Crypt::RSA::VERSION = '1.99'; # change this elsewhere too! +-- +2.27.0 + |