Merge pull request #2934 from CodeBlock/spawn-fcgi-update

update spawn-fcgi to 1.6.4
This commit is contained in:
Austin Seipp 2014-06-15 19:02:25 -05:00
commit 5f960cc893
2 changed files with 2 additions and 18 deletions

View file

@ -2,17 +2,15 @@
stdenv.mkDerivation rec {
name = "spawn-fcgi-${version}";
version = "1.6.3";
version = "1.6.4";
src = fetchsvn {
url = "svn://svn.lighttpd.net/spawn-fcgi/tags/spawn-fcgi-${version}";
sha256 = "06f0zw3rja42d9vg8j68nqkm3mn5pfzzhwfadpvs4aidh6kz9p42";
sha256 = "07r6nwbg4881mdgp0hqh80c4x9wb7jg6cgc84ghwhfbd2abc2iq5";
};
buildInputs = [ automake autoconf ];
patches = [ ./show_version.patch ];
preConfigure = ''
./autogen.sh
'';

View file

@ -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"
));
}