summaryrefslogtreecommitdiff
path: root/dev-perl/Perl-Critic-Dynamic/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
commit1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch)
treee48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-perl/Perl-Critic-Dynamic/files
parentd87262dd706fec50cd150aab3e93883b6337466d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/Perl-Critic-Dynamic/files')
-rw-r--r--dev-perl/Perl-Critic-Dynamic/files/Perl-Critic-Dynamic-0.05-test-cgi.patch70
1 files changed, 0 insertions, 70 deletions
diff --git a/dev-perl/Perl-Critic-Dynamic/files/Perl-Critic-Dynamic-0.05-test-cgi.patch b/dev-perl/Perl-Critic-Dynamic/files/Perl-Critic-Dynamic-0.05-test-cgi.patch
deleted file mode 100644
index 28b40ede53cc..000000000000
--- a/dev-perl/Perl-Critic-Dynamic/files/Perl-Critic-Dynamic-0.05-test-cgi.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-From 42cd322ed7cc0b89692352ef5e78023bce71e865 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
-Date: Thu, 9 Apr 2015 00:46:52 +1200
-Subject: Fix AUTOLOAD test
-
-CGI 4.14 stopped to use AUTOLOAD which caused failing tests. This patch
-provides private module with AUTOLOAD instead of relying on CGI.
-
-Bug: https://rt.cpan.org/Ticket/Display.html?id=103382
----
- t/Dynamic/ValidateAgainstSymbolTable.run | 11 ++++++-----
- tlib/TestAutoload.pm | 12 ++++++++++++
- 2 files changed, 18 insertions(+), 5 deletions(-)
- create mode 100644 tlib/TestAutoload.pm
-
-diff --git a/t/Dynamic/ValidateAgainstSymbolTable.run b/t/Dynamic/ValidateAgainstSymbolTable.run
-index 493a9dd..5178922 100644
---- a/t/Dynamic/ValidateAgainstSymbolTable.run
-+++ b/t/Dynamic/ValidateAgainstSymbolTable.run
-@@ -336,23 +336,24 @@ use FooBar;
- #-----------------------------------------------------------------------------
-
- ## name AUTOLOADers ignored by default
-+## parms { at_inc => 'tlib' }
- ## failures 0
- ## cut
-
--use CGI; # Has 'sub AUTOLOAD {...}'
-+use TestAutoload; # Has 'sub AUTOLOAD {...}'
-
--CGI::FooBar();
-+TestAutoload::FooBar();
-
- #-----------------------------------------------------------------------------
-
- ## name AUTOLOADers inspected on request
--## parms { inspect_autoloaders => 1 }
-+## parms { at_inc => 'tlib', inspect_autoloaders => 1 }
- ## failures 1
- ## cut
-
--use CGI; # Has 'sub AUTOLOAD {...}'
-+use TestAutoload; # Has 'sub AUTOLOAD {...}'
-
--CGI::FooBar();
-+TestAutoload::FooBar();
-
-
- #-----------------------------------------------------------------------------
-diff --git a/tlib/TestAutoload.pm b/tlib/TestAutoload.pm
-new file mode 100644
-index 0000000..939f563
---- /dev/null
-+++ b/tlib/TestAutoload.pm
-@@ -0,0 +1,12 @@
-+package TestAutoload;
-+
-+sub AUTOLOAD {
-+ print "Autoloading <$AUTOLOAD>\n";
-+ goto &foo;
-+}
-+
-+sub foo {
-+ print "foo() called\n";
-+}
-+
-+1;
---
-2.15.1
-