3
0
Fork 0
forked from mirrors/nixpkgs

daemontools: fix build

This commit is contained in:
Jörg Thalheim 2017-05-31 23:57:15 +01:00
parent bef0b67a84
commit d7f6367471
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA
2 changed files with 22 additions and 10 deletions

View file

@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "07scvw88faxkscxi91031pjkpccql6wspk4yrlnsbrrb5c0kamd5";
};
patches = [ ./fix-nix-usernamespace-build.patch ];
configurePhase = ''
cd ${name}

View file

@ -0,0 +1,10 @@
--- admin.org/daemontools-0.76/src/chkshsgr.c 2001-07-12 17:49:49.000000000 +0100
+++ admin/daemontools-0.76/src/chkshsgr.c 2017-05-31 23:54:56.662174028 +0100
@@ -4,6 +4,7 @@
int main()
{
+ return 0;
short x[4];
x[0] = x[1] = 0;