Files
perl-Apache-Test/fix-provides.diff

29 lines
1.1 KiB
Diff
Raw Permalink Normal View History

Index: Apache-Test-1.36/lib/Apache/Test5005compat.pm
===================================================================
--- Apache-Test-1.36.orig/lib/Apache/Test5005compat.pm 2011-02-01 08:51:44.000000000 +0100
+++ Apache-Test-1.36/lib/Apache/Test5005compat.pm 2011-04-14 11:51:40.672730852 +0200
@@ -72,7 +72,8 @@ sub warnings_pm {
my $fh = open_file(shift);
print $fh <<'EOF';
-package warnings;
+package
+ warnings;
sub import {}
Index: Apache-Test-1.36/lib/Apache/TestRequest.pm
===================================================================
--- Apache-Test-1.36.orig/lib/Apache/TestRequest.pm 2011-02-01 08:51:44.000000000 +0100
+++ Apache-Test-1.36/lib/Apache/TestRequest.pm 2011-04-14 11:47:55.317641991 +0200
@@ -43,7 +43,8 @@ unless ($ENV{APACHE_TEST_PRETEND_NO_LWP}
require HTTP::Request::Common;
unless (defined &HTTP::Request::Common::OPTIONS) {
- package HTTP::Request::Common;
+ package
+ HTTP::Request::Common;
no strict 'vars';
*OPTIONS = sub { _simple_req(OPTIONS => @_) };
push @EXPORT, 'OPTIONS';