3
0
Fork 0
forked from mirrors/nixpkgs

mod_fastcgi: Fix building against Apache 2.4

This commit is contained in:
Eelco Dolstra 2014-11-07 11:36:30 +01:00
parent bad2955079
commit 690154993d

View file

@ -1,13 +1,21 @@
{ stdenv, fetchurl, apacheHttpd }: { stdenv, fetchurl, apacheHttpd }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "mod_fastcgi-2.4.6"; name = "mod_fastcgi-2.4.6";
src = fetchurl { src = fetchurl {
url = "http://www.fastcgi.com/dist/mod_fastcgi-2.4.6.tar.gz"; url = "http://www.fastcgi.com/dist/${name}.tar.gz";
sha256 = "12g6vcfl9jl8rqf8lzrkdxg2ngca310d3d6an563xqcgrkp8ga55"; sha256 = "12g6vcfl9jl8rqf8lzrkdxg2ngca310d3d6an563xqcgrkp8ga55";
}; };
patches =
[ (fetchurl {
name = "compile-against-apache24.diff";
url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/compile-against-apache24.diff?h=packages/mod_fastcgi&id=81c7cb99d15682df3bdb1edcaeea5259e9e43a42";
sha256 = "000qvrf5jb979i37rimrdivcgjijcffgrpkx38c0rn62z9jz61g4";
})
];
buildInputs = [ apacheHttpd ]; buildInputs = [ apacheHttpd ];
preBuild = '' preBuild = ''