mod_fastcgi: fix broken package

* mod_fastcgi: fix broken package (#153086)

The patch is not needed anymore.
Upstream fixed compilation with httpd 2.4.x

* mod_fastcgi: don't fetch apache-24-patch

Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
This commit is contained in:
Jan Stranik 2022-02-10 15:34:41 -05:00 committed by GitHub
parent 67a7c95cce
commit 48d63e924a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,12 +1,5 @@
{ lib, stdenv, fetchFromGitHub, fetchurl, apacheHttpd }:
let
apache-24-patch = 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";
};
in
stdenv.mkDerivation rec {
pname = "mod_fastcgi";
version = "2.4.7.1";
@ -18,8 +11,6 @@ stdenv.mkDerivation rec {
hash = "sha256-ovir59kCjKkgbraX23nsmzlMzGdeNTyj3MQd8cgvLsg=";
};
patches = [ apache-24-patch ];
buildInputs = [ apacheHttpd ];
preBuild = ''
@ -43,6 +34,5 @@ stdenv.mkDerivation rec {
'';
platforms = lib.platforms.linux;
broken = true; # patch 'compile-against-apache24.diff' no longer works
};
}