8
0
Files
apache2-mod_perl/avoid-broken-provides.diff

15 lines
645 B
Diff
Raw Permalink Normal View History

Index: mod_perl-2.0.12/Apache-Test/lib/Apache/TestRequest.pm
===================================================================
--- mod_perl-2.0.12.orig/Apache-Test/lib/Apache/TestRequest.pm
+++ mod_perl-2.0.12/Apache-Test/lib/Apache/TestRequest.pm
@@ -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';