forked from pool/apache2-mod_perl
- update to 2.0.12: * Add bug tracker information to README, and add CONTRIBUTING.md. * Fix detection of APR's threading support on RHEL 8. * Fix build for perl >= 5.33.7. * Fix SIGSEGV crash due to wrong use of perl_parse(). * Improve installation instructions for AIX. - remove patch: * fix_perl_5.34_build.patch (there is a fix already upstreamed) - refreshed patches: * avoid-broken-provides.diff * apache2-mod_perl-prctl-short-name.patch OBS-URL: https://build.opensuse.org/request/show/971875 OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_perl?expand=0&rev=78
15 lines
645 B
Diff
15 lines
645 B
Diff
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';
|