fcgi: refactor

This commit is contained in:
Jeremy Baxter
2024-07-07 14:20:42 +12:00
parent 51e3fdb192
commit 607e2413d5
2 changed files with 8 additions and 20 deletions
-12
View File
@@ -1,12 +0,0 @@
diff --git a/libfcgi/fcgio.cpp b/libfcgi/fcgio.cpp
index 95e28ca..a7eda0e 100644
--- a/libfcgi/fcgio.cpp
+++ b/libfcgi/fcgio.cpp
@@ -23,6 +23,7 @@
#endif
#include <limits.h>
+#include <cstdio>
#include "fcgio.h"
using std::streambuf;
+8 -8
View File
@@ -1,25 +1,25 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "fcgi";
version = "2.4.2";
src = fetchFromGitHub {
owner = "FastCGI-Archives";
repo = "fcgi2";
rev = version;
sha256 = "1jhz6jfwv5kawa8kajvg18nfwc1b30f38zc0lggszd1vcmrwqkz1";
rev = finalAttrs.version;
hash = "sha256-4U/Mc2U7tK/fo4B9NBwYKzDuLApvSzWR4mqWzZ00H8o=";
};
nativeBuildInputs = [ autoreconfHook ];
postInstall = "ln -s . $out/include/fastcgi";
meta = with lib; {
description = "Language independent, scalable, open extension to CG";
meta = {
description = "Language independent, scalable, open extension to CGI";
homepage = "https://fastcgi-archives.github.io/"; # Formerly http://www.fastcgi.com/
license = "FastCGI see LICENSE.TERMS";
license = "FastCGI, see LICENSE.TERMS";
mainProgram = "cgi-fcgi";
platforms = platforms.all;
platforms = lib.platforms.all;
};
}
})