Merge pull request #2934 from CodeBlock/spawn-fcgi-update
update spawn-fcgi to 1.6.4
This commit is contained in:
commit
5f960cc893
@ -2,17 +2,15 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "spawn-fcgi-${version}";
|
name = "spawn-fcgi-${version}";
|
||||||
version = "1.6.3";
|
version = "1.6.4";
|
||||||
|
|
||||||
src = fetchsvn {
|
src = fetchsvn {
|
||||||
url = "svn://svn.lighttpd.net/spawn-fcgi/tags/spawn-fcgi-${version}";
|
url = "svn://svn.lighttpd.net/spawn-fcgi/tags/spawn-fcgi-${version}";
|
||||||
sha256 = "06f0zw3rja42d9vg8j68nqkm3mn5pfzzhwfadpvs4aidh6kz9p42";
|
sha256 = "07r6nwbg4881mdgp0hqh80c4x9wb7jg6cgc84ghwhfbd2abc2iq5";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ automake autoconf ];
|
buildInputs = [ automake autoconf ];
|
||||||
|
|
||||||
patches = [ ./show_version.patch ];
|
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
'';
|
'';
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
diff --git a/src/spawn-fcgi.c b/src/spawn-fcgi.c
|
|
||||||
index 7f3f594..2f1046f 100644
|
|
||||||
--- a/src/spawn-fcgi.c
|
|
||||||
+++ b/src/spawn-fcgi.c
|
|
||||||
@@ -405,8 +405,7 @@ static int find_user_group(const char *user, const char *group, uid_t *uid, gid_
|
|
||||||
|
|
||||||
static void show_version () {
|
|
||||||
write(1, CONST_STR_LEN(
|
|
||||||
- PACKAGE_DESC \
|
|
||||||
- "Build-Date: " __DATE__ " " __TIME__ "\n"
|
|
||||||
+ PACKAGE_DESC "\n"
|
|
||||||
));
|
|
||||||
}
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user