Browse Source

try to fix CGI::GuruMeditation

master
parent
commit
7db1a0ebb9
  1. 26
      perl-www/perl-www.patch

26
perl-www/perl-www.patch

@ -1,6 +1,26 @@
Index: CGI-GuruMeditation-1.10/GuruMeditation.pm
--- CGI-GuruMeditation-1.10/GuruMeditation.pm.orig 2006-09-20 14:58:22.000000000 +0200
+++ CGI-GuruMeditation-1.10/GuruMeditation.pm 2011-02-18 18:24:50.000000000 +0100
@@ -369,14 +369,13 @@
}
if (not $r->bytes_sent) {
$r->status(500);
- $r->header_out("Expires", "0");
+ $r->headers_out->add("Expires" => "0");
$r->no_cache(1);
$r->content_type("text/html; charset=ISO-8859-1");
- $r->send_http_header();
}
$r->print($html);
if ($mod_perl >= 2) {
- ModPerl::Util::exit(0);
+ return Apache2::Const::OK;
}
else {
$r->exit();
Index: Embperl-2.3.0/Makefile.PL
--- Embperl-2.3.0/Makefile.PL.orig 2007-09-29 13:05:56.000000000 +0200
+++ Embperl-2.3.0/Makefile.PL 2011-02-18 09:06:23.000000000 +0100
+++ Embperl-2.3.0/Makefile.PL 2011-02-18 18:23:45.000000000 +0100
@@ -625,7 +625,7 @@
$base = $ENV{'ProgramFiles'} if ($win32) ;
@ -21,7 +41,7 @@ Index: Embperl-2.3.0/Makefile.PL
'dist' => { COMPRESS => 'gzip', SUFFIX => 'gz'},
Index: Embperl-2.3.0/driver/epxalan.MAKEPL
--- Embperl-2.3.0/driver/epxalan.MAKEPL.orig 2005-10-26 00:16:36.000000000 +0200
+++ Embperl-2.3.0/driver/epxalan.MAKEPL 2011-02-18 09:06:23.000000000 +0100
+++ Embperl-2.3.0/driver/epxalan.MAKEPL 2011-02-18 18:23:45.000000000 +0100
@@ -8,7 +8,7 @@
if (!$win32)
@ -33,7 +53,7 @@ Index: Embperl-2.3.0/driver/epxalan.MAKEPL
{
Index: Web-Scraper-0.33/Makefile.PL
--- Web-Scraper-0.33/Makefile.PL.orig 2011-02-17 18:14:26.000000000 +0100
+++ Web-Scraper-0.33/Makefile.PL 2011-02-18 09:06:48.000000000 +0100
+++ Web-Scraper-0.33/Makefile.PL 2011-02-18 18:23:45.000000000 +0100
@@ -12,9 +12,9 @@
requires 'HTML::Tagset';
requires 'UNIVERSAL::require';

Loading…
Cancel
Save