* Sync with the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=14557
This commit is contained in:
15
pkgs/development/perl-modules/Compress-Raw-Bzip2/default.nix
Normal file
15
pkgs/development/perl-modules/Compress-Raw-Bzip2/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{fetchurl, buildPerlPackage, bzip2}:
|
||||
|
||||
buildPerlPackage rec {
|
||||
name = "Compress-Raw-Bzip2-2.015";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz";
|
||||
sha256 = "0rc49w7i552j89ws85h7s1bzvs17m065lgy3mj23h0gplkbjnwkp";
|
||||
};
|
||||
|
||||
# Don't build a private copy of bzip2.
|
||||
BUILD_BZIP2 = false;
|
||||
BZIP2_LIB = "${bzip2}/lib";
|
||||
BZIP2_INCLUDE = "${bzip2}/include";
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
diff -rc Catalyst-Engine-HTTP-Prefork-0.50-orig/lib/Catalyst/Engine/HTTP/Prefork/Handler.pm Catalyst-Engine-HTTP-Prefork-0.50/lib/Catalyst/Engine/HTTP/Prefork/Handler.pm
|
||||
*** Catalyst-Engine-HTTP-Prefork-0.50-orig/lib/Catalyst/Engine/HTTP/Prefork/Handler.pm 2008-03-14 18:23:47.000000000 +0100
|
||||
--- Catalyst-Engine-HTTP-Prefork-0.50/lib/Catalyst/Engine/HTTP/Prefork/Handler.pm 2009-03-11 14:18:40.000000000 +0100
|
||||
***************
|
||||
*** 199,206 ****
|
||||
|
||||
if ( $self->{_chunked_res} ) {
|
||||
if ( !$self->{_chunked_done} ) {
|
||||
! # Write the final '0' chunk
|
||||
! syswrite STDOUT, "0$CRLF";
|
||||
}
|
||||
|
||||
delete $self->{_chunked_res};
|
||||
--- 199,207 ----
|
||||
|
||||
if ( $self->{_chunked_res} ) {
|
||||
if ( !$self->{_chunked_done} ) {
|
||||
! # Write the final '0' chunk and the CRLF that terminates
|
||||
! # the chunked body.
|
||||
! syswrite STDOUT, "0$CRLF$CRLF";
|
||||
}
|
||||
|
||||
delete $self->{_chunked_res};
|
||||
Reference in New Issue
Block a user