From 74ff25024c6865874b71e35e79076e918898c1ba Mon Sep 17 00:00:00 2001 From: Dmitry Sivachenko Date: Fri, 20 Jun 2003 08:41:24 +0000 Subject: Tidy up DEPENDS list; Correct pkg-plist; Fixes for Apache2 users. PR: 53205 Submitted by: Tim Bishop Approved by: maintainer --- www/rt36/files/ap2mp2-fix.pl | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 www/rt36/files/ap2mp2-fix.pl (limited to 'www/rt36/files') diff --git a/www/rt36/files/ap2mp2-fix.pl b/www/rt36/files/ap2mp2-fix.pl new file mode 100644 index 000000000000..fb04960150c0 --- /dev/null +++ b/www/rt36/files/ap2mp2-fix.pl @@ -0,0 +1,10 @@ +# temp fix for mp2-09... make a dummy Apache->request +require Apache::RequestUtil; +no warnings 'redefine'; +my $sub = *Apache::request{CODE}; +*Apache::request = sub { + my $r; + eval { $r = $sub->('Apache'); }; + # warn $@ if $@; + return $r; +}; -- cgit v1.2.3